]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for wxBase.
authorMattia Barbon <mbarbon@cpan.org>
Fri, 25 Apr 2003 20:26:32 +0000 (20:26 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Fri, 25 Apr 2003 20:26:32 +0000 (20:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datacmn.cpp

index 4d985031a267afef0f3e36d3defc589c8cfa8bad..7fc2803947cfb7c2f4349e5c16a8159ffb8506d7 100644 (file)
@@ -36,6 +36,8 @@
 // Useful buffer, initialized in wxCommonInit
 wxChar *wxBuffer = NULL;
 
+#if wxUSE_GUI
+
 // Windows List
 wxWindowList wxTopLevelWindows;
 
@@ -158,3 +160,4 @@ WXDLLEXPORT_DATA(const wxChar *) wxUserResourceStr = wxT("TEXT");
 const wxSize wxDefaultSize(-1, -1);
 const wxPoint wxDefaultPosition(-1, -1);
 
+#endif // wxUSE_GUI