]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/commandlinkbutton.h
Ensure IDs don't clash with wxRichTextCtrl.
[wxWidgets.git] / include / wx / commandlinkbutton.h
index 9f1a52eba6942d1bfc900ae7e79f8f0bf98d002a..2fc77cdfcbeebe48cf88ae20b10fa470d5c89c5c 100644 (file)
@@ -15,6 +15,8 @@
 
 #if wxUSE_COMMANDLINKBUTTON
 
+#include "wx/button.h"
+
 // ----------------------------------------------------------------------------
 // Command link button common base class
 // ----------------------------------------------------------------------------
@@ -130,7 +132,7 @@ private:
     wxDECLARE_NO_COPY_CLASS(wxGenericCommandLinkButton);
 };
 
-#if defined(__WXMSW__)
+#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
     #include "wx/msw/commandlinkbutton.h"
 #else
     class WXDLLIMPEXP_ADV wxCommandLinkButton : public wxGenericCommandLinkButton