diff --git a/samples/wxsocket/server.cpp b/samples/wxsocket/server.cpp index d0e11583d2..4790e7a0cf 100644 --- a/samples/wxsocket/server.cpp +++ b/samples/wxsocket/server.cpp @@ -104,7 +104,7 @@ bool MyApp::OnInit(void) void MySock::OldOnNotify(wxRequestEvent flags) { - extern wxList wxPendingDelete; + extern wxList WXDLLEXPORT wxPendingDelete; switch (flags) { case EVT_READ: