X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8552e6f031ded8ae61b4a5b489fbf06962365da7..728f972bcef8d6b01f5f67cb77060d23098d8877:/contrib/include/wx/fl/dyntbar.h?ds=inline diff --git a/contrib/include/wx/fl/dyntbar.h b/contrib/include/wx/fl/dyntbar.h index bf593b9e94..5db0c21d85 100644 --- a/contrib/include/wx/fl/dyntbar.h +++ b/contrib/include/wx/fl/dyntbar.h @@ -12,10 +12,6 @@ #ifndef __DYNTBAR_G__ #define __DYNTBAR_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dyntbar.h" -#endif - #include "wx/tbarbase.h" #include "wx/dynarray.h" #include "wx/fl/fldefs.h" @@ -148,13 +144,13 @@ public: virtual void AddTool( int toolIndex, const wxString& imageFileName, wxBitmapType imageFileType = wxBITMAP_TYPE_BMP, - const wxString& labelText = wxT(""), bool alignTextRight = FALSE, - bool isFlat = TRUE ); + const wxString& labelText = wxT(""), bool alignTextRight = false, + bool isFlat = true ); // Adds a tool. See the documentation for wxToolBar for details. virtual void AddTool( int toolIndex, wxBitmap labelBmp, - const wxString& labelText = wxT(""), bool alignTextRight = FALSE, - bool isFlat = TRUE ); + const wxString& labelText = wxT(""), bool alignTextRight = false, + bool isFlat = true ); // Unhide method from parent. @@ -166,13 +162,13 @@ public: // See the documentation for wxToolBar for details. virtual wxToolBarToolBase *AddTool(const int toolIndex, const wxBitmap& bitmap, const wxBitmap& pushedBitmap = wxNullBitmap, - const bool toggle = FALSE, const long xPos = -1, const long yPos = -1, wxObject *clientData = NULL, + const bool toggle = false, const long xPos = wxDefaultCoord, const long yPos = wxDefaultCoord, wxObject *clientData = NULL, const wxString& helpString1 = wxT(""), const wxString& helpString2 = wxT("")); // Adds a separator. See the documentation for wxToolBar for details. virtual void AddSeparator( wxWindow* pSepartorWnd ); -FIXXXXXME + // Unhide method from parent. virtual wxToolBarToolBase *AddSeparator() @@ -209,7 +205,7 @@ FIXXXXXME // Enables or disables the given tool. - virtual void EnableTool(int toolIndex, bool enable = TRUE); + virtual void EnableTool(int toolIndex, bool enable = true); // Responds to size events, calling Layout.