]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
use SetClientSize(), not SetSize() in Fit()
[wxWidgets.git] / src / common / sckipc.cpp
index 2ababd83cd367d9ad0bc607fa2e3e9fb438ebf7d..1c68aa540c52d96761e23f7a2f5bb2109a778aaa 100644 (file)
@@ -22,7 +22,7 @@
 // headers
 // --------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "sckipc.h"
 #endif
 
@@ -125,6 +125,7 @@ public:
   void Server_OnRequest(wxSocketEvent& event);
 
   DECLARE_EVENT_TABLE()
+  DECLARE_NO_COPY_CLASS(wxTCPEventHandler)
 };
 
 enum
@@ -743,7 +744,7 @@ void wxTCPEventHandler::Server_OnRequest(wxSocketEvent &event)
 // wxTCPEventHandlerModule (private class)
 // --------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTCPEventHandlerModule: public wxModule
+class wxTCPEventHandlerModule: public wxModule
 {
   DECLARE_DYNAMIC_CLASS(wxTCPEventHandlerModule)