]> git.saurik.com Git - wxWidgets.git/blame - include/wx/osx/colordlg.h
Fix crash when auto-sizing a wxDataViewCtrl column.
[wxWidgets.git] / include / wx / osx / colordlg.h
CommitLineData
6762286d 1/////////////////////////////////////////////////////////////////////////////
233f5738 2// Name: wx/osx/colordlg.h
6762286d
SC
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
6762286d
SC
8// Copyright: (c) Stefan Csomor
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_COLORDLG_H_
13#define _WX_COLORDLG_H_
14
6762286d 15#include "wx/dialog.h"
6762286d
SC
16
17/*
18 * Platform-specific colour dialog implementation
19 */
20
21class WXDLLIMPEXP_CORE wxColourDialog: public wxDialog
22{
23DECLARE_DYNAMIC_CLASS(wxColourDialog)
24public:
25 wxColourDialog();
26 wxColourDialog(wxWindow *parent, wxColourData *data = NULL);
5c6eb3a8 27
6762286d
SC
28 bool Create(wxWindow *parent, wxColourData *data = NULL);
29
30 int ShowModal();
31 wxColourData& GetColourData() { return m_colourData; }
32
33protected:
34 wxColourData m_colourData;
35 wxWindow* m_dialogParent;
36};
37
38#endif
39 // _WX_COLORDLG_H_