+// ----------------------------------------------------------------------------
+// title
+// ----------------------------------------------------------------------------
+
+void wxColourDialog::SetTitle(const wxString& title)
+{
+ m_title = title;
+}
+
+wxString wxColourDialog::GetTitle() const
+{
+ return m_title;
+}
+
+// ----------------------------------------------------------------------------
+// position/size
+// ----------------------------------------------------------------------------
+
+void wxColourDialog::DoGetPosition(int *x, int *y) const
+{
+ if ( x )
+ *x = m_pos.x;
+ if ( y )
+ *y = m_pos.y;
+}
+
+void wxColourDialog::DoSetSize(int x, int y,
+ int WXUNUSED(width), int WXUNUSED(height),
+ int WXUNUSED(sizeFlags))
+{
+ if ( x != -1 )
+ m_pos.x = x;
+
+ if ( y != -1 )
+ m_pos.y = y;
+
+ // ignore the size params - we can't change the size of a standard dialog
+ return;
+}
+
+// NB: of course, both of these functions are completely bogus, but it's better
+// than nothing
+void wxColourDialog::DoGetSize(int *width, int *height) const
+{
+ // the standard dialog size
+ if ( width )
+ *width = 225;
+ if ( height )
+ *height = 324;
+}
+
+void wxColourDialog::DoGetClientSize(int *width, int *height) const
+{
+ // the standard dialog size
+ if ( width )
+ *width = 219;
+ if ( height )
+ *height = 299;
+}
+