From a63b009834eb4cc25c0029b5f1040361d2ac3d23 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Mon, 10 Mar 2003 21:39:01 +0000 Subject: [PATCH] Derive wxButton from wxButtonBase. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/motif/button.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/wx/motif/button.h b/include/wx/motif/button.h index dc1aec766f..dd046850d8 100644 --- a/include/wx/motif/button.h +++ b/include/wx/motif/button.h @@ -16,12 +16,10 @@ #pragma interface "button.h" #endif -#include "wx/control.h" - WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; // Pushbutton -class WXDLLEXPORT wxButton: public wxControl +class WXDLLEXPORT wxButton: public wxButtonBase { DECLARE_DYNAMIC_CLASS(wxButton)