X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/98bdbbe31b61dff367103da568ddb25b7910b7b7..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/gsocket.h diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index a527a8586a..009804091e 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -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;