91b4c08d6f
2. the selected brush isn't damaged any more by DrawBitmap() 3. corrected confusion between current and bg brush in DrawBitmap() 4. added wxGetColourFromUser() (to match wxGetTextFromUser() &c) 5. mem leak/crash in wxListCtrl on mode change fixed 6. wxListCtrl::Set{Fore|Back}groundColour() work as expected now git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
31 lines
845 B
C
31 lines
845 B
C
#ifndef _WX_COLORDLG_H_BASE_
|
|
#define _WX_COLORDLG_H_BASE_
|
|
|
|
#if defined(__WXMSW__)
|
|
#include "wx/msw/colordlg.h"
|
|
#elif defined(__WXMOTIF__)
|
|
#include "wx/generic/colrdlgg.h"
|
|
#elif defined(__WXGTK__)
|
|
#include "wx/generic/colrdlgg.h"
|
|
#elif defined(__WXQT__)
|
|
#include "wx/generic/colrdlgg.h"
|
|
#elif defined(__WXMAC__)
|
|
#include "wx/generic/colrdlgg.h"
|
|
#elif defined(__WXPM__)
|
|
#include "wx/generic/colrdlgg.h"
|
|
#elif defined(__WXSTUBS__)
|
|
#include "wx/generic/colrdlgg.h"
|
|
#endif
|
|
|
|
#if !defined(__WXMSW__)
|
|
#define wxColourDialog wxGenericColourDialog
|
|
#define sm_classwxColourDialog sm_classwxGenericColourDialog
|
|
#endif
|
|
|
|
// get the colour from user and return it
|
|
wxColour WXDLLEXPORT wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
|
|
const wxColour& colInit = wxNullColour);
|
|
|
|
#endif
|
|
// _WX_COLORDLG_H_BASE_
|