-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:
Włodzimierz Skiba
2004-06-02 17:13:19 +00:00
parent b62ca03d6f
commit a67fad5e11
3 changed files with 4 additions and 4 deletions

View File

@@ -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) \

View File

@@ -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()

View File

@@ -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 |