X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1be7a35c5ec31b6cfcab9d969c7969586441a945..a2c5db764c8450dda6e87fe58917b0a00ec2c74f:/include/wx/tglbtn.h diff --git a/include/wx/tglbtn.h b/include/wx/tglbtn.h index 2972d5f04a..7ac6ec9840 100644 --- a/include/wx/tglbtn.h +++ b/include/wx/tglbtn.h @@ -27,7 +27,9 @@ END_DECLARE_EVENT_TYPES() #define EVT_TOGGLEBUTTON(id, fn) \ wx__DECLARE_EVT1(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, id, wxCommandEventHandler(fn)) -#if defined(__WXMSW__) +#if defined(__WXUNIVERSAL__) + #include "wx/univ/tglbtn.h" +#elif defined(__WXMSW__) #include "wx/msw/tglbtn.h" #elif defined(__WXGTK20__) #include "wx/gtk/tglbtn.h"