]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/colordlg.h
Getting rid of odd control characters at EOL in source.
[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
f6bcfd97 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_COLORDLG_H_
13#define _WX_COLORDLG_H_
2bda0e17
KB
14
15#ifdef __GNUG__
16#pragma interface "colordlg.h"
17#endif
18
19#include "wx/setup.h"
20#include "wx/dialog.h"
21#include "wx/cmndata.h"
22
f6bcfd97
BP
23// ----------------------------------------------------------------------------
24// wxColourDialog: dialog for choosing a colours
25// ----------------------------------------------------------------------------
2bda0e17 26
f6bcfd97 27class WXDLLEXPORT wxColourDialog : public wxDialog
2bda0e17 28{
bbcdf8bc 29public:
f6bcfd97 30 wxColourDialog();
bbcdf8bc
JS
31 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
32
33 bool Create(wxWindow *parent, wxColourData *data = NULL);
34
f6bcfd97
BP
35 wxColourData& GetColourData() { return m_colourData; }
36
37 // override some base class virtuals
38 virtual void SetTitle(const wxString& title);
39 virtual wxString GetTitle();
40
41 virtual int ShowModal();
bbcdf8bc
JS
42
43protected:
f6bcfd97
BP
44 virtual void DoGetSize(int *width, int *height) const;
45 virtual void DoGetClientSize(int *width, int *height) const;
46 virtual void DoSetSize(int x, int y,
47 int width, int height,
48 int sizeFlags = wxSIZE_AUTO);
49
bbcdf8bc 50 wxColourData m_colourData;
f6bcfd97
BP
51 wxString m_title;
52
53 DECLARE_DYNAMIC_CLASS(wxColourDialog)
2bda0e17
KB
54};
55
56#endif
bbcdf8bc 57 // _WX_COLORDLG_H_