X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51abe921b849be69f02c174365c9a7bc8b46bd08..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/mac/dialog.cpp diff --git a/src/mac/dialog.cpp b/src/mac/dialog.cpp index 304fbb915b..d0068bc451 100644 --- a/src/mac/dialog.cpp +++ b/src/mac/dialog.cpp @@ -369,6 +369,13 @@ void wxDialog::OnCancel(wxCommandEvent& event) } } +void wxDialog::OnPaint(wxPaintEvent& event) +{ + // No: if you call the default procedure, it makes + // the following painting code not work. +// wxWindow::OnPaint(event); +} + void wxDialog::OnCloseWindow(wxCloseEvent& event) { // We'll send a Cancel message by default,