X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e1400ac6a9e5388abe63b3f00ff5c8091fef304..b554cf63711f985030c5d5f338f9614d158a8718:/include/wx/gsocket.h diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index aa85493415..9ace677b54 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -67,7 +67,7 @@ typedef enum { GSOCK_WOULDBLOCK, GSOCK_TIMEDOUT, GSOCK_MEMERR, - GSOCK_OPTERR, + GSOCK_OPTERR } GSocketError; /* See below for an explanation on how events work. @@ -100,6 +100,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;