]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/commandlinkbutton.h
using Run of base class
[wxWidgets.git] / include / wx / commandlinkbutton.h
index 9f1a52eba6942d1bfc900ae7e79f8f0bf98d002a..0aaa0ec65a302a1a231081eab3dd1f88591135ab 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     wxCommandLinkButtonBase and wxGenericCommandLinkButton classes
 // Author:      Rickard Westerlund
 // Created:     2010-06-11
-// RCS-ID:      $Id$
 // Copyright:   (c) 2010 wxWidgets team
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -15,6 +14,8 @@
 
 #if wxUSE_COMMANDLINKBUTTON
 
+#include "wx/button.h"
+
 // ----------------------------------------------------------------------------
 // Command link button common base class
 // ----------------------------------------------------------------------------
@@ -130,7 +131,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