X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..ba5787676d002f76b4c3944cb598b626f10f058d:/include/wx/tglbtn.h?ds=sidebyside diff --git a/include/wx/tglbtn.h b/include/wx/tglbtn.h index 1827e0b494..7ac6ec9840 100644 --- a/include/wx/tglbtn.h +++ b/include/wx/tglbtn.h @@ -27,10 +27,14 @@ 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(__WXGTK__) +#elif defined(__WXGTK20__) #include "wx/gtk/tglbtn.h" +#elif defined(__WXGTK__) + #include "wx/gtk1/tglbtn.h" # elif defined(__WXMOTIF__) #include "wx/motif/tglbtn.h" #elif defined(__WXMAC__)