Don't Sync() if there is no buffer. This allows derived classes that handle the buffer differently (e.g. reuse the buffer).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
Fixed wxFileDialog::MSWOnInitDone and wxFileDialog::MSWOnSelChange never being called.

A condition was checking for the wrong CDN_XXX message range resulting in CDN_INITDONE and CDN_SELCHANGE no longer being processed. Broken since r75937 (branches/WX_3_0_BRANCH/) and r75941 (trunk/).

See #16003.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
backport, add our own Apple Event handler for the quit app event, see #16200

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
backport, get rid of performance warnings "For best performance, only use PostScript names when calling this API", see #15999

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775