Send wxEVT_COLOUR_CHANGED from wxColourDialog under MSW
Add support for a new event sent by wxColourDialog, currently only under MSW, when the colour currently selected in it changes. Based on work by Trylz, see https://github.com/wxWidgets/wxWidgets/pull/1219
This commit is contained in:
@@ -506,6 +506,11 @@ public:
|
||||
void OnExit(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
#if wxUSE_COLOURDLG
|
||||
void OnColourChanged(wxColourDialogEvent& event);
|
||||
void DoApplyColour(const wxColour& colour);
|
||||
#endif // wxUSE_COLOURDLG
|
||||
|
||||
#if wxUSE_DIRDLG
|
||||
void DoDirChoose(int style);
|
||||
#endif // wxUSE_DIRDLG
|
||||
|
Reference in New Issue
Block a user