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:
Robin Dunn
1999-07-27 04:51:03 +00:00
parent 8d99be5f53
commit 2ac1b69a00

View File

@@ -491,6 +491,8 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
);
bmpBtn = NULL; // suppress warning
new wxButton(panel, -1, "Another button", wxPoint(250, 20));
m_notebook->AddPage(panel, "wxBitmapXXX");
}
@@ -776,7 +778,7 @@ void MyPanel::OnShowProgress( wxCommandEvent& WXUNUSED(event) )
max, // range
this, // parent
wxPD_CAN_ABORT | wxPD_APP_MODAL | wxPD_ELAPSED_TIME | wxPD_ESTIMATED_TIME | wxPD_REMAINING_TIME);
bool cont = TRUE;
for ( int i = 0; i < max && cont; i++ )