]> git.saurik.com Git - wxWidgets.git/commitdiff
Added another button to show wxBitmapButton problem
authorRobin Dunn <robin@alldunn.com>
Tue, 27 Jul 1999 04:51:03 +0000 (04:51 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 27 Jul 1999 04:51:03 +0000 (04:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/controls/controls.cpp

index 39651183aef86a4d346e177b9774cb5262224612..bd4383757080479cd220bb786a031f83ead9df98 100644 (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++ )