Logo Search packages:      
Sourcecode: xchm version File versions

CHMHtmlWindow::CHMHtmlWindow ( wxWindow *  parent,
wxTreeCtrl *  tc,
CHMFrame frame 
)

Initializes the widget.

Parameters:
parent The parent widget.
tc Pointer to the tree control we want to synchronize with.
frame Outer frame.

Definition at line 33 of file chmhtmlwindow.cpp.

      : wxHtmlWindow(parent, -1, wxDefaultPosition, wxSize(200,200)),
        _tcl(tc), _syncTree(true), _found(false), _menu(NULL), 
        _absolute(false), _frame(frame)
#ifdef _ENABLE_COPY_AND_FIND
      , _fdlg(NULL)
#endif
{
      _menu = new wxMenu;
      _menu->Append(ID_PopupForward, _("For&ward"));
      _menu->Append(ID_PopupBack, _("&Back"));

#ifdef _ENABLE_COPY_AND_FIND
      _menu->AppendSeparator();
      _menu->Append(ID_CopySel, _("&Copy selection"));
      _menu->AppendSeparator();
      _menu->Append(ID_PopupFind, _("&Find in page.."));
#endif
}


Generated by  Doxygen 1.6.0   Back to index