X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd6754a18420be7ee525c0933a120ce66023649c..93763ad5ba900aecb9220a36ebe7447313ea3e31:/contrib/include/wx/fl/toolwnd.h diff --git a/contrib/include/wx/fl/toolwnd.h b/contrib/include/wx/fl/toolwnd.h index d0ed6c32da..486085ea78 100644 --- a/contrib/include/wx/fl/toolwnd.h +++ b/contrib/include/wx/fl/toolwnd.h @@ -13,10 +13,6 @@ #ifndef __TOOLWND_G__ #define __TOOLWND_G__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "toolwnd.h" -#endif - #include "wx/frame.h" #include "wx/dynarray.h" #include "wx/fl/fldefs.h" @@ -25,7 +21,7 @@ #define BTN_BOX_HEIGHT 12 #define BTN_BOX_WIDTH 12 -#define BTN_X_WIEGHT 2 +#define BTN_X_WEIGHT 2 class WXDLLIMPEXP_FL cbMiniButton; @@ -186,7 +182,7 @@ public: // Set the position of the button. void SetPos( const wxPoint& pos ); - // Returns TRUE if the given position was over the button. + // Returns true if the given position was over the button. bool HitTest( const wxPoint& pos ); // Responds to a left down event. @@ -205,7 +201,7 @@ public: // the desired appearance. virtual void Draw( wxDC& dc ); - // Returns TRUE if the button was clicked. + // Returns true if the button was clicked. bool WasClicked(); // Reset the button. @@ -214,7 +210,7 @@ public: // Enable or disable the button. void Enable( bool enable ) { mEnabled = enable; } - // Returns TRUE if this button is pressed. + // Returns true if this button is pressed. bool IsPressed() { return mPressed; } };