-1->wxID_ANY, TRUE->true and FALSE->false replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -277,7 +277,7 @@ public: \
|
|||||||
/* the cast is needed for MS VC++ 5.0 */ \
|
/* the cast is needed for MS VC++ 5.0 */ \
|
||||||
{ return (type *)((kbList::iterator *)this)->operator*() ; } \
|
{ return (type *)((kbList::iterator *)this)->operator*() ; } \
|
||||||
}; \
|
}; \
|
||||||
inline name(bool ownsEntriesFlag = TRUE) \
|
inline name(bool ownsEntriesFlag = true) \
|
||||||
: kbList(ownsEntriesFlag) {} \
|
: kbList(ownsEntriesFlag) {} \
|
||||||
\
|
\
|
||||||
inline type *pop_back(void) \
|
inline type *pop_back(void) \
|
||||||
|
@@ -66,8 +66,8 @@ BEGIN_EVENT_TABLE(MyFrame,wxFrame)
|
|||||||
EVT_MENU(ID_PREVIEW_PS, MyFrame::OnPrintPreviewPS)
|
EVT_MENU(ID_PREVIEW_PS, MyFrame::OnPrintPreviewPS)
|
||||||
EVT_MENU(ID_PRINT_SETUP_PS, MyFrame::OnPrintSetupPS)
|
EVT_MENU(ID_PRINT_SETUP_PS, MyFrame::OnPrintSetupPS)
|
||||||
EVT_MENU(ID_PAGE_SETUP_PS, MyFrame::OnPageSetupPS)
|
EVT_MENU(ID_PAGE_SETUP_PS, MyFrame::OnPageSetupPS)
|
||||||
EVT_MENU (-1, MyFrame::OnCommand)
|
EVT_MENU (wxID_ANY, MyFrame::OnCommand)
|
||||||
EVT_COMMAND (-1,-1, MyFrame::OnCommand)
|
EVT_COMMAND (wxID_ANY,wxID_ANY, MyFrame::OnCommand)
|
||||||
EVT_CHAR ( wxLayoutWindow::OnChar )
|
EVT_CHAR ( wxLayoutWindow::OnChar )
|
||||||
END_EVENT_TABLE()
|
END_EVENT_TABLE()
|
||||||
|
|
||||||
|
@@ -146,7 +146,7 @@ static bool IsDirectionKey(long keyCode);
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
wxLayoutWindow::wxLayoutWindow(wxWindow *parent)
|
wxLayoutWindow::wxLayoutWindow(wxWindow *parent)
|
||||||
: wxScrolledWindow(parent, -1,
|
: wxScrolledWindow(parent, wxID_ANY,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
wxHSCROLL | wxVSCROLL |
|
wxHSCROLL | wxVSCROLL |
|
||||||
wxBORDER |
|
wxBORDER |
|
||||||
|
Reference in New Issue
Block a user