- DECLARE_DYNAMIC_CLASS(wxColourDialog)
- protected:
- wxColourData colourData;
- wxWindow *dialogParent;
- public:
- wxColourDialog(void);
- wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
-
- bool Create(wxWindow *parent, wxColourData *data = NULL);
-
- int ShowModal(void);
- wxColourData& GetColourData(void) { return colourData; }
+public:
+ wxColourDialog();
+ wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
+
+ bool Create(wxWindow *parent, wxColourData *data = NULL);
+
+ wxColourData& GetColourData() { return m_colourData; }
+
+ // override some base class virtuals
+ virtual void SetTitle(const wxString& title);
+ virtual wxString GetTitle() const;
+
+ virtual int ShowModal();
+
+ virtual void DoGetPosition( int *x, int *y ) const;
+
+protected:
+ virtual void DoGetSize(int *width, int *height) const;
+ virtual void DoGetClientSize(int *width, int *height) const;
+ virtual void DoSetSize(int x, int y,
+ int width, int height,
+ int sizeFlags = wxSIZE_AUTO);
+
+ wxColourData m_colourData;
+ wxString m_title;
+
+ wxPoint m_pos;
+
+ DECLARE_DYNAMIC_CLASS(wxColourDialog)