]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gsocket.h
invalidating vis regions upon tlw resize as well
[wxWidgets.git] / include / wx / gsocket.h
index a527a8586a9a5f4fbcd36e02e4824cd62659cdd8..009804091ef1ee77579db84c2ee09c9cb0b98fbb 100644 (file)
@@ -12,8 +12,7 @@
 #define __GSOCKET_H
 
 #ifndef __GSOCKET_STANDALONE__
-#include "wx/setup.h"
-#include "wx/platform.h"
+#include "wx/defs.h"
 
 #include "wx/dlimpexp.h" /* for WXDLLIMPEXP_NET */
 
@@ -100,6 +99,8 @@ typedef void (*GSocketCallback)(GSocket *socket, GSocketEvent event,
 class GSocketGUIFunctionsTable
 {
 public:
+    // needed since this class declares virtual members
+    virtual ~GSocketGUIFunctionsTable() { }
     virtual bool OnInit() = 0;
     virtual void OnExit() = 0;
     virtual bool CanUseEventLoop() = 0;