-1->wxID_ANY, TRUE->true, FALSE->false, wxDefaultPosition replacements

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-05-27 17:38:07 +00:00
parent e0e31ccdbc
commit 3ac8bd7b53
4 changed files with 33 additions and 33 deletions

View File

@@ -154,7 +154,7 @@ IMPLEMENT_APP(LifeApp)
// some shortcuts
#define ADD_TOOL(id, bmp, tooltip, help) \
toolBar->AddTool(id, bmp, wxNullBitmap, false, -1, -1, (wxObject *)0, tooltip, help)
toolBar->AddTool(id, bmp, wxNullBitmap, false, wxDefaultPosition.x, wxDefaultPosition.y, (wxObject *)NULL, tooltip, help)
// --------------------------------------------------------------------------
@@ -294,7 +294,7 @@ LifeFrame::LifeFrame() : wxFrame( (wxFrame *) NULL, wxID_ANY,
wxSlider *slider = new wxSlider(panel2, ID_SLIDER,
5, 1, 10,
wxDefaultPosition,
wxSize(200, -1),
wxSize(200, wxDefaultSize.y),
wxSL_HORIZONTAL | wxSL_AUTOTICKS);
UpdateInfoText();