]> git.saurik.com Git - wxWidgets.git/blame - include/wx/msw/colordlg.h
added wxDynamicLibrary::GetSymbolAorW()
[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
65571936 9// Licence: wxWindows licence
2bda0e17
KB
10/////////////////////////////////////////////////////////////////////////////
11
bbcdf8bc
JS
12#ifndef _WX_COLORDLG_H_
13#define _WX_COLORDLG_H_
2bda0e17 14
12028905 15#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
2bda0e17
KB
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);
ba14d986 39 virtual wxString GetTitle() const;
f6bcfd97
BP
40
41 virtual int ShowModal();
bbcdf8bc 42
f63e3ebb
VZ
43 virtual void DoGetPosition( int *x, int *y ) const;
44
bbcdf8bc 45protected:
f6bcfd97
BP
46 virtual void DoGetSize(int *width, int *height) const;
47 virtual void DoGetClientSize(int *width, int *height) const;
48 virtual void DoSetSize(int x, int y,
49 int width, int height,
50 int sizeFlags = wxSIZE_AUTO);
51
bbcdf8bc 52 wxColourData m_colourData;
f6bcfd97
BP
53 wxString m_title;
54
f63e3ebb
VZ
55 wxPoint m_pos;
56
fc7a2a60 57 DECLARE_DYNAMIC_CLASS_NO_COPY(wxColourDialog)
2bda0e17
KB
58};
59
60#endif
bbcdf8bc 61 // _WX_COLORDLG_H_