In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
authorRobin Dunn <robin@alldunn.com>
Sat, 1 May 2004 21:29:35 +0000 (21:29 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 1 May 2004 21:29:35 +0000 (21:29 +0000)
commitabdb7725e101288775e9752eecaac4dbc4fcf409
treea9fdd3cf47fca6c71ee6e3f553547db0714556a6
parent6e86701b83e4d081c095747fbf6fa642e717e969
In wxGTK2 the wxMessageDialog is not a real wxDialog so its m_widget
will always be NULL there will be a wxCHECK asserts triggered whenever
calling base class methods that are valid calls (or just ignored) on
other wx ports.  Added a set of macros to be used to test m_widget
that will bypass the wxFAIL if the window is a wxMessageDialog.  This
will silence those asserts if the window is a wxMessageDialog and will
let the method doing the check just be ignored in that case.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/private.h
include/wx/gtk1/private.h
src/gtk/toplevel.cpp
src/gtk/window.cpp
src/gtk1/toplevel.cpp
src/gtk1/window.cpp