Added wxWindow::GTKHandleRealized() virtual method to wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Oct 2011 16:22:14 +0000 (16:22 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Oct 2011 16:22:14 +0000 (16:22 +0000)
commit612515aff12d2a36f993767954eaa370a545af51
treead96ecb6d39a5af3eb96fba34b52b1851a901046
parentf854ecb5a8bc051381440c68b35ce696db8079bc
Added wxWindow::GTKHandleRealized() virtual method to wxGTK.

This allows to easily do something in the derived classes when the widget is
realized, without having to deal with GTK+ signals. In particular, get rid of
another "realize" signal handler in wxTopLevelWindow and simply override this
virtual method there.

It also incidentally makes the callback code simpler as the window doesn't
need to be constantly dereferenced.

This shouldn't result in any changes to behaviour.

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