Added another button to show wxBitmapButton problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -491,6 +491,8 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
|
|||||||
);
|
);
|
||||||
bmpBtn = NULL; // suppress warning
|
bmpBtn = NULL; // suppress warning
|
||||||
|
|
||||||
|
new wxButton(panel, -1, "Another button", wxPoint(250, 20));
|
||||||
|
|
||||||
m_notebook->AddPage(panel, "wxBitmapXXX");
|
m_notebook->AddPage(panel, "wxBitmapXXX");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -776,7 +778,7 @@ void MyPanel::OnShowProgress( wxCommandEvent& WXUNUSED(event) )
|
|||||||
max, // range
|
max, // range
|
||||||
this, // parent
|
this, // parent
|
||||||
wxPD_CAN_ABORT | wxPD_APP_MODAL | wxPD_ELAPSED_TIME | wxPD_ESTIMATED_TIME | wxPD_REMAINING_TIME);
|
wxPD_CAN_ABORT | wxPD_APP_MODAL | wxPD_ELAPSED_TIME | wxPD_ESTIMATED_TIME | wxPD_REMAINING_TIME);
|
||||||
|
|
||||||
|
|
||||||
bool cont = TRUE;
|
bool cont = TRUE;
|
||||||
for ( int i = 0; i < max && cont; i++ )
|
for ( int i = 0; i < max && cont; i++ )
|
||||||
|
Reference in New Issue
Block a user