-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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user