Fixed linking errors related to wxAnyButton in wxUniv.
Native wxAnyButton headers were being included but the sources aren't used in wxUniv. Fixed this by not including any native header in wxUniv and instead made wxAnyButton a typedef of wxAnyButtonBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3f4880a451
commit
ca21c76b2a
@ -3,7 +3,7 @@
|
||||
// Purpose: wxAnyButtonBase class
|
||||
// Author: Vadim Zetlin
|
||||
// Created: 2000-08-15 (extracted from button.h)
|
||||
// RCS-ID: $Id: anybutton.h 65680 2010-09-30 11:44:45Z VZ $
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Vadim Zetlin
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
@ -175,9 +175,9 @@ protected:
|
||||
wxDECLARE_NO_COPY_CLASS(wxAnyButtonBase);
|
||||
};
|
||||
|
||||
//#if defined(__WXUNIVERSAL__)
|
||||
// #include "wx/univ/anybutton.h"
|
||||
#if defined(__WXMSW__)
|
||||
#if defined(__WXUNIVERSAL__)
|
||||
typedef wxAnyButtonBase wxAnyButton;
|
||||
#elif defined(__WXMSW__)
|
||||
#include "wx/msw/anybutton.h"
|
||||
//#elif defined(__WXMOTIF__)
|
||||
// #include "wx/motif/anybutton.h"
|
||||
|
Loading…
Reference in New Issue
Block a user