]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/colordlg.h
Don't try to determine the clicked item ourselves in wxMSW wxListBox.
[wxWidgets.git] / include / wx / osx / colordlg.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/colordlg.h
3 // Purpose: wxColourDialog class. Use generic version if no
4 // platform-specific implementation.
5 // Author: Stefan Csomor
6 // Modified by:
7 // Created: 1998-01-01
8 // RCS-ID: $Id$
9 // Copyright: (c) Stefan Csomor
10 // Licence: wxWindows licence
11 /////////////////////////////////////////////////////////////////////////////
12
13 #ifndef _WX_COLORDLG_H_
14 #define _WX_COLORDLG_H_
15
16 #include "wx/dialog.h"
17
18 /*
19 * Platform-specific colour dialog implementation
20 */
21
22 class WXDLLIMPEXP_CORE wxColourDialog: public wxDialog
23 {
24 DECLARE_DYNAMIC_CLASS(wxColourDialog)
25 public:
26 wxColourDialog();
27 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
28
29 bool Create(wxWindow *parent, wxColourData *data = NULL);
30
31 int ShowModal();
32 wxColourData& GetColourData() { return m_colourData; }
33
34 protected:
35 wxColourData m_colourData;
36 wxWindow* m_dialogParent;
37 };
38
39 #endif
40 // _WX_COLORDLG_H_