From abeaf06776d52c4db1da595be1e9c05293e90cc5 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Wed, 26 Mar 2008 23:28:12 +0000 Subject: [PATCH] Possible fix for bevelButton problem Originally committed to SVN as r2149. --- aegisub/macosx/bevelButton.cpp | 3 +-- aegisub/macosx/bevelButton.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/aegisub/macosx/bevelButton.cpp b/aegisub/macosx/bevelButton.cpp index ff577b6c8..ba4d515e2 100644 --- a/aegisub/macosx/bevelButton.cpp +++ b/aegisub/macosx/bevelButton.cpp @@ -12,7 +12,7 @@ #ifdef __WXMAC__ #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "button.h" +#pragma implementation "bevelButton.h" #endif #include "wx/wxprec.h" @@ -24,7 +24,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxBevelButton, wxControl) #include "wx/mac/uma.h" -#include "bevelButton.h" // Button static const int kMacOSXHorizontalBorder = 2 ; diff --git a/aegisub/macosx/bevelButton.h b/aegisub/macosx/bevelButton.h index ac01cce2d..d951f4f63 100644 --- a/aegisub/macosx/bevelButton.h +++ b/aegisub/macosx/bevelButton.h @@ -17,7 +17,7 @@ #include "wx/control.h" #include "wx/gdicmn.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr; +//WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr; // Pushbutton class WXDLLEXPORT wxBevelButton: public wxButton