]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/colordlg.h
streamlining code
[wxWidgets.git] / include / wx / palmos / colordlg.h
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/palmos/colordlg.h
3// Purpose: wxColourDialog class
e1d63b79
WS
4// Author: William Osborne - minimal working wxPalmOS port
5// Modified by: Wlodzimierz ABX Skiba - real native implementation
ffecfa5a 6// Created: 10/13/04
e1d63b79
WS
7// RCS-ID: $Id$
8// Copyright: (c) William Osborne, Wlodzimierz Skiba
ffecfa5a
JS
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_COLORDLG_H_
13#define _WX_COLORDLG_H_
14
b73e73f9 15#include "wx/defs.h"
ffecfa5a
JS
16#include "wx/dialog.h"
17#include "wx/cmndata.h"
18
19// ----------------------------------------------------------------------------
20// wxColourDialog: dialog for choosing a colours
21// ----------------------------------------------------------------------------
22
53a2db12 23class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
ffecfa5a
JS
24{
25public:
26 wxColourDialog();
27 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
28
29 bool Create(wxWindow *parent, wxColourData *data = NULL);
30
31 wxColourData& GetColourData() { return m_colourData; }
32
ffecfa5a
JS
33 virtual int ShowModal();
34
ffecfa5a 35protected:
ffecfa5a 36 wxColourData m_colourData;
ffecfa5a
JS
37
38 DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog)
39};
40
41#endif
42 // _WX_COLORDLG_H_