#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"
#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; }
};