X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd9396d52dc2118f2f527ecea55271e79a893ed4..f2616db56739e4962f683f59ac9e207756efe23c:/utils/framelayout/src/dyntbar.h diff --git a/utils/framelayout/src/dyntbar.h b/utils/framelayout/src/dyntbar.h index c2815632b3..ca9225cad5 100644 --- a/utils/framelayout/src/dyntbar.h +++ b/utils/framelayout/src/dyntbar.h @@ -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 );