]> git.saurik.com Git - wxWidgets.git/commit
Don't crash on startup of console programs in monolithic wxX11 build.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 10:40:31 +0000 (10:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 3 May 2011 10:40:31 +0000 (10:40 +0000)
commitf18b415ee35de1ca1725f0fe1fa70589be9dcfeb
treebac796b4fb65a0f3e878826088d5ad1c162052a7
parentd66ddd70c7976fe519c8997117f1d5e813133560
Don't crash on startup of console programs in monolithic wxX11 build.

When using monolithic build, GUI-specific wxWinModule is still linked in but
its initialization crashes because there is no global display. Simply don't do
anything in this module OnInit() in this case to avoid the problem (which
affected e.g. wxrc in this build configuration).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/x11/window.cpp