]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/socket.cpp
Latex updates; added defines to printdlg.h for referring to generic print dialogs
[wxWidgets.git] / src / common / socket.cpp
index da261af97da460661c2d480bdfe2c05f4dc92a49..414efb7b8e79ac9d5b999bd9af57ccec3e78d223 100644 (file)
@@ -31,6 +31,9 @@
 #include <wx/timer.h>
 #include <wx/utils.h>
 
+// Not enough OS behaviour defined for wxStubs
+#ifndef __WXSTUBS__
+
 #include <stdlib.h>
 #include <string.h>
 #include <ctype.h>
 #endif
 
 #ifdef __WXMOTIF__
-#define wxAPP_CONTEXT wxTheApp->appContext
+#define wxAPP_CONTEXT ((XtAppContext)wxTheApp->GetAppContext())
 #endif
 
 #ifdef __WINDOWS__
@@ -1537,3 +1540,6 @@ HWND wxSocketHandler::GetHWND() const
 }
 
 #endif
+
+#endif
+  // __WXSTUBS__