]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/framelayout/src/dyntbar.h
don't crash when invalid colour is set as fg/bg colour
[wxWidgets.git] / utils / framelayout / src / dyntbar.h
index c2815632b3066dbfc05a2139c45400cd251b5c22..ca9225cad52afa784cd9d96e41834a5d30810955 100644 (file)
@@ -120,6 +120,9 @@ public:
                                                  int imageFileType = wxBITMAP_TYPE_BMP,
                                                  const wxString& labelText = "", bool alignTextRight = FALSE,
                                                  bool isFlat = TRUE );
+       virtual void AddTool( int toolIndex, wxBitmap labelBmp,
+                                                 const wxString& labelText = "", bool alignTextRight = FALSE,
+                                                 bool isFlat = TRUE );
 
        // method from wxToolBarBase (for compatibility), only
        // first two arguments are valid
@@ -138,7 +141,7 @@ public:
        virtual void DrawSeparator( wxDynToolInfo& info, wxDC& dc );
 
        // see definitions of orientation types
-       virtual void Layout();
+       virtual bool Layout();
 
        virtual void GetPreferredDim( const wxSize& givenDim, wxSize& prefDim );