X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/659f8ec331fa31ffdf5a8d2efbc68a1b62ba3537..9838b284443a889c6c629568011c8ce76cfbacd4:/contrib/include/wx/fl/toolwnd.h diff --git a/contrib/include/wx/fl/toolwnd.h b/contrib/include/wx/fl/toolwnd.h index 2737a94a06..8b90b2f130 100644 --- a/contrib/include/wx/fl/toolwnd.h +++ b/contrib/include/wx/fl/toolwnd.h @@ -144,10 +144,10 @@ public: // Called when a mini button is clicked. // By default, does nothing. - virtual void OnMiniButtonClicked( int btnIdx ) {} + virtual void OnMiniButtonClicked( int WXUNUSED(btnIdx) ) {} // Handles clicking on the title. By default, does nothing. - virtual bool HandleTitleClick( wxMouseEvent& event ) { return FALSE; } + virtual bool HandleTitleClick( wxMouseEvent& WXUNUSED(event) ) { return false; } DECLARE_EVENT_TABLE() }; @@ -186,7 +186,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 +205,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 +214,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; } };