From a1de932df0cf2c181d927d7de27d3465719c9b93 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 13 Feb 2002 17:16:46 +0000 Subject: [PATCH] Fixed typos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/utils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/x11/utils.cpp b/src/x11/utils.cpp index 6c2f0ecf76..862f96e9cc 100644 --- a/src/x11/utils.cpp +++ b/src/x11/utils.cpp @@ -203,6 +203,7 @@ int wxGetOsVersion(int *majorVsn, int *minorVsn) *minorVsn = ProtocolRevision (display); return wxMOTIF_X; +#endif #ifdef __WXX11__ if (majorVsn) *majorVsn = 0; @@ -633,8 +634,9 @@ WXDisplay *wxGetDisplay() return XtDisplay ((Widget) wxTheApp->GetTopLevelWidget()); else if (wxTheApp) return wxTheApp->GetInitialDisplay(); + return NULL; #endif -#ifdef __WXGTK__ +#ifdef __WXX11__ return wxApp::GetDisplay(); #endif }