Changed wxRootWindow from a global to a staic variable with an
authorRobin Dunn <robin@alldunn.com>
Fri, 11 May 2001 17:55:28 +0000 (17:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 11 May 2001 17:55:28 +0000 (17:55 +0000)
commitc2fa61e833ffe9789ef3d3327157e17101a4a2ce
tree997770cb2a964e593fec7cb5a132a2e4c65aaec1
parenta90c95aa8e196971d454d4a2ae05096f76231d58
Changed wxRootWindow from a global to a staic variable with an
accessor function that initializes if on first use.  This prevents
core dumps for apps that try to create wxBitmaps before the wxApp
object is initialized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 files changed:
src/gtk/app.cpp
src/gtk/bitmap.cpp
src/gtk/cursor.cpp
src/gtk/dcclient.cpp
src/gtk/minifram.cpp
src/gtk/utilsgtk.cpp
src/gtk1/app.cpp
src/gtk1/bitmap.cpp
src/gtk1/cursor.cpp
src/gtk1/dcclient.cpp
src/gtk1/minifram.cpp
src/gtk1/utilsgtk.cpp