#define BTN_BOX_HEIGHT 12
#define BTN_BOX_WIDTH 12
-#define BTN_X_WIEGHT 2
+#define BTN_X_WEIGHT 2
class WXDLLIMPEXP_FL cbMiniButton;
// 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.
// 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.
// 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; }
};