home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / include / wx / colordlg.h < prev    next >
C/C++ Source or Header  |  2002-11-04  |  1KB  |  37 lines

  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.12.2.1 2002/10/29 00:02:07 VZ Exp $
  8. // Copyright:   (c) wxWindows team
  9. // Licence:     wxWindows licence
  10. /////////////////////////////////////////////////////////////////////////////
  11.  
  12. #ifndef _WX_COLORDLG_H_BASE_
  13. #define _WX_COLORDLG_H_BASE_
  14.  
  15. #if wxUSE_COLOURDLG
  16.  
  17. #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
  18.     #include "wx/msw/colordlg.h"
  19. #elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
  20.     #include "wx/mac/colordlg.h"
  21. #else
  22.     #include "wx/generic/colrdlgg.h"
  23.  
  24.     #define wxColourDialog wxGenericColourDialog
  25.     #define sm_classwxColourDialog sm_classwxGenericColourDialog
  26. #endif
  27.  
  28. // get the colour from user and return it
  29. wxColour WXDLLEXPORT
  30. wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
  31.                     const wxColour& colInit = wxNullColour);
  32.  
  33. #endif // wxUSE_COLOURDLG
  34.  
  35. #endif
  36.     // _WX_COLORDLG_H_BASE_
  37.