// tab art class
-class wxTabArt
+class WXDLLIMPEXP_AUI wxTabArt
{
public:
+ wxTabArt() { }
+ virtual ~wxTabArt() { }
+
virtual void DrawBackground(
wxDC* dc,
const wxRect& rect) = 0;
};
-class wxDefaultTabArt : public wxTabArt
+class WXDLLIMPEXP_AUI wxDefaultTabArt : public wxTabArt
{
public:
wxDefaultTabArt();
+ virtual ~wxDefaultTabArt();
void DrawBackground(
wxDC* dc,
public:
int id; // button's id
int cur_state; // current state (normal, hover, pressed)
+ int location; // buttons location (wxLEFT or wxRIGHT)
wxBitmap bitmap; // button's bitmap
wxRect rect; // button's hit rectangle
};
void SetMeasuringFont(const wxFont& measuring_font);
void DoShowHide();
void SetRect(const wxRect& rect);
- void AddButton(int id, const wxBitmap& bmp);
+ void AddButton(int id, int location, const wxBitmap& bmp);
protected: