git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27586
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/* the cast is needed for MS VC++ 5.0 */ \
{ return (type *)((kbList::iterator *)this)->operator*() ; } \
}; \
/* the cast is needed for MS VC++ 5.0 */ \
{ return (type *)((kbList::iterator *)this)->operator*() ; } \
}; \
- inline name(bool ownsEntriesFlag = TRUE) \
+ inline name(bool ownsEntriesFlag = true) \
: kbList(ownsEntriesFlag) {} \
\
inline type *pop_back(void) \
: kbList(ownsEntriesFlag) {} \
\
inline type *pop_back(void) \
EVT_MENU(ID_PREVIEW_PS, MyFrame::OnPrintPreviewPS)
EVT_MENU(ID_PRINT_SETUP_PS, MyFrame::OnPrintSetupPS)
EVT_MENU(ID_PAGE_SETUP_PS, MyFrame::OnPageSetupPS)
EVT_MENU(ID_PREVIEW_PS, MyFrame::OnPrintPreviewPS)
EVT_MENU(ID_PRINT_SETUP_PS, MyFrame::OnPrintSetupPS)
EVT_MENU(ID_PAGE_SETUP_PS, MyFrame::OnPageSetupPS)
- EVT_MENU (-1, MyFrame::OnCommand)
- EVT_COMMAND (-1,-1, MyFrame::OnCommand)
+ EVT_MENU (wxID_ANY, MyFrame::OnCommand)
+ EVT_COMMAND (wxID_ANY,wxID_ANY, MyFrame::OnCommand)
EVT_CHAR ( wxLayoutWindow::OnChar )
END_EVENT_TABLE()
EVT_CHAR ( wxLayoutWindow::OnChar )
END_EVENT_TABLE()
// ----------------------------------------------------------------------------
wxLayoutWindow::wxLayoutWindow(wxWindow *parent)
// ----------------------------------------------------------------------------
wxLayoutWindow::wxLayoutWindow(wxWindow *parent)
- : wxScrolledWindow(parent, -1,
+ : wxScrolledWindow(parent, wxID_ANY,
wxDefaultPosition, wxDefaultSize,
wxHSCROLL | wxVSCROLL |
wxBORDER |
wxDefaultPosition, wxDefaultSize,
wxHSCROLL | wxVSCROLL |
wxBORDER |