X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc2819335f5c717ba92c76df4a51591fc4cf5143..c3b0ceb5a9f5d49dec31b491c5a616ebdeda4ae3:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index 40e742482c..ea2630239c 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -266,21 +266,20 @@ private: // Returns the current state of the mouse position, buttons and modifers WXDLLEXPORT wxMouseState wxGetMouseState(); +#endif // wxUSE_GUI // ---------------------------------------------------------------------------- // Window ID management // ---------------------------------------------------------------------------- -// Generate a unique ID -WXDLLEXPORT long wxNewId(); - // Ensure subsequent IDs don't clash with this one -WXDLLEXPORT void wxRegisterId(long id); +WXDLLIMPEXP_BASE void wxRegisterId(long id); // Return the current ID -WXDLLEXPORT long wxGetCurrentId(); +WXDLLIMPEXP_BASE long wxGetCurrentId(); -#endif // wxUSE_GUI +// Generate a unique ID +WXDLLIMPEXP_BASE long wxNewId(); // ---------------------------------------------------------------------------- // Various conversions