]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/colordlg.h
Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
[wxWidgets.git] / include / wx / msw / colordlg.h
CommitLineData
2bda0e17 1/////////////////////////////////////////////////////////////////////////////
f6bcfd97 2// Name: wx/msw/colordlg.h
2bda0e17
KB
3// Purpose: wxColourDialog class
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
bbcdf8bc 8// Copyright: (c) Julian Smart
65571936 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_COLORDLG_H_
13#define _WX_COLORDLG_H_
2bda0e17 14
b73e73f9 15#include "wx/defs.h"
2bda0e17
KB
16#include "wx/dialog.h"
17#include "wx/cmndata.h"
18
f6bcfd97
BP
19// ----------------------------------------------------------------------------
20// wxColourDialog: dialog for choosing a colours
21// ----------------------------------------------------------------------------
2bda0e17 22
f6bcfd97 23class WXDLLEXPORT wxColourDialog : public wxDialog
2bda0e17 24{
bbcdf8bc 25public:
f6bcfd97 26 wxColourDialog();
bbcdf8bc
JS
27 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
28
29 bool Create(wxWindow *parent, wxColourData *data = NULL);
30
f6bcfd97
BP
31 wxColourData& GetColourData() { return m_colourData; }
32
33 // override some base class virtuals
34 virtual void SetTitle(const wxString& title);
ba14d986 35 virtual wxString GetTitle() const;
f6bcfd97
BP
36
37 virtual int ShowModal();
bbcdf8bc
JS
38
39protected:
6f02a879 40 virtual void DoGetPosition( int *x, int *y ) const;
f6bcfd97
BP
41 virtual void DoGetSize(int *width, int *height) const;
42 virtual void DoGetClientSize(int *width, int *height) const;
43 virtual void DoSetSize(int x, int y,
44 int width, int height,
45 int sizeFlags = wxSIZE_AUTO);
46
bbcdf8bc 47 wxColourData m_colourData;
f6bcfd97
BP
48 wxString m_title;
49
f63e3ebb
VZ
50 wxPoint m_pos;
51
fc7a2a60 52 DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog)
2bda0e17
KB
53};
54
55#endif
bbcdf8bc 56 // _WX_COLORDLG_H_