~ubuntu-dev/wxwidgets2.6/upstream-debian

« back to all changes in this revision

Viewing changes to include/wx/colordlg.h

  • Committer: Daniel T Chen
  • Date: 2006-06-26 10:15:11 UTC
  • Revision ID: crimsun@ubuntu.com-20060626101511-a4436cec4c6d9b35
ImportĀ DebianĀ 2.6.3.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/////////////////////////////////////////////////////////////////////////////
 
2
// Name:        wx/colrdlgg.h
 
3
// Purpose:     wxColourDialog
 
4
// Author:      Vadim Zeitiln
 
5
// Modified by:
 
6
// Created:     01/02/97
 
7
// RCS-ID:      $Id: colordlg.h,v 1.18 2005/01/18 10:31:20 ABX Exp $
 
8
// Copyright:   (c) wxWidgets team
 
9
// Licence:     wxWindows licence
 
10
/////////////////////////////////////////////////////////////////////////////
 
11
 
 
12
#ifndef _WX_COLORDLG_H_BASE_
 
13
#define _WX_COLORDLG_H_BASE_
 
14
 
 
15
#include "wx/defs.h"
 
16
 
 
17
#if wxUSE_COLOURDLG
 
18
 
 
19
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
 
20
    #include "wx/msw/colordlg.h"
 
21
#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
 
22
    #include "wx/mac/colordlg.h"
 
23
#elif defined(__WXGTK20__) && !defined(__WXUNIVERSAL__)
 
24
    #include "wx/gtk/colordlg.h"
 
25
#elif defined(__WXPALMOS__)
 
26
    #include "wx/palmos/colordlg.h"
 
27
#else
 
28
    #include "wx/generic/colrdlgg.h"
 
29
 
 
30
    #define wxColourDialog wxGenericColourDialog
 
31
#endif
 
32
 
 
33
// get the colour from user and return it
 
34
wxColour WXDLLEXPORT
 
35
wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
 
36
                    const wxColour& colInit = wxNullColour);
 
37
 
 
38
#endif // wxUSE_COLOURDLG
 
39
 
 
40
#endif
 
41
    // _WX_COLORDLG_H_BASE_