class WXDLLIMPEXP_BASE wxMessageOutput;
class WXDLLEXPORT wxRendererNative;
class WXDLLIMPEXP_BASE wxString;
-struct WXDLLIMPEXP_BASE wxToolkitInfo;
+
+extern "C"
+{
+ struct GSocketGUIFunctionsTable;
+}
// ----------------------------------------------------------------------------
// toolkit information
// wxBase
virtual void RemoveFromPendingDelete(wxObject *object) = 0;
+#if wxUSE_SOCKETS
+ // return table of GUI callbacks for GSocket code or NULL in wxBase
+ virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable() = 0;
+#endif
+
// return information about what toolkit is running; we need for two things
// that are both contained in wxBase:
// and in the latter -- about the OS, so we need to virtualize it
// - wxDynamicLibrary::CanonicalizePluginName() must embed toolkit
// signature in DLL name
- virtual wxToolkitInfo *GetToolkitInfo() = 0;
+ virtual wxToolkitInfo& GetToolkitInfo() = 0;
};
// ----------------------------------------------------------------------------
virtual wxFontMapper *CreateFontMapper();
#endif // wxUSE_FONTMAP
virtual wxRendererNative *CreateRenderer();
+#if wxUSE_SOCKETS
+ virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable();
+#endif
#ifdef __WXDEBUG__
virtual bool ShowAssertDialog(const wxString& msg);
virtual wxFontMapper *CreateFontMapper();
#endif // wxUSE_FONTMAP
virtual wxRendererNative *CreateRenderer();
+#if wxUSE_SOCKETS
+ virtual GSocketGUIFunctionsTable* GetSocketGUIFunctionsTable();
+#endif
#ifdef __WXDEBUG__
virtual bool ShowAssertDialog(const wxString& msg);