]> git.saurik.com Git - wxWidgets.git/blame - include/wx/palmos/colordlg.h
Committing in .
[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
15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16#pragma interface "colordlg.h"
17#endif
18
19#include "wx/setup.h"
20#include "wx/dialog.h"
21#include "wx/cmndata.h"
22
23// ----------------------------------------------------------------------------
24// wxColourDialog: dialog for choosing a colours
25// ----------------------------------------------------------------------------
26
27class WXDLLEXPORT wxColourDialog : public wxDialog
28{
29public:
30 wxColourDialog();
31 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
32
33 bool Create(wxWindow *parent, wxColourData *data = NULL);
34
35 wxColourData& GetColourData() { return m_colourData; }
36
ffecfa5a
JS
37 virtual int ShowModal();
38
ffecfa5a 39protected:
ffecfa5a 40 wxColourData m_colourData;
ffecfa5a
JS
41
42 DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog)
43};
44
45#endif
46 // _WX_COLORDLG_H_