projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation under dll builds. Wrap source files in wxUSE_WEB checks to allow...
[wxWidgets.git]
/
include
/
wx
/
cocoa
/
bmpbuttn.h
diff --git
a/include/wx/cocoa/bmpbuttn.h
b/include/wx/cocoa/bmpbuttn.h
index d2d003c133cb36a4b5de4f714f390f5e9f19b7bb..e9c22e908a96e577352d4c71eee8b4850f5094ba 100644
(file)
--- a/
include/wx/cocoa/bmpbuttn.h
+++ b/
include/wx/cocoa/bmpbuttn.h
@@
-4,9
+4,9
@@
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
// Author: David Elliott
// Modified by:
// Created: 2003/03/16
-// RCS-ID: $Id
:
+// RCS-ID: $Id
$
// Copyright: (c) 2003 David Elliott
// Copyright: (c) 2003 David Elliott
-// Licence:
wxWidget
s licence
+// Licence:
wxWindow
s licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BMPBUTTN_H__
/////////////////////////////////////////////////////////////////////////////
#ifndef __WX_COCOA_BMPBUTTN_H__
@@
-17,7
+17,7
@@
// ========================================================================
// wxBitmapButton
// ========================================================================
// ========================================================================
// wxBitmapButton
// ========================================================================
-class WXDLL
EXPORT
wxBitmapButton : public wxBitmapButtonBase
+class WXDLL
IMPEXP_CORE
wxBitmapButton : public wxBitmapButtonBase
{
DECLARE_DYNAMIC_CLASS(wxBitmapButton)
DECLARE_EVENT_TABLE()
{
DECLARE_DYNAMIC_CLASS(wxBitmapButton)
DECLARE_EVENT_TABLE()
@@
-54,6
+54,9
@@
protected:
// Implementation
// ------------------------------------------------------------------------
public:
// Implementation
// ------------------------------------------------------------------------
public:
+ // The wxButton::DoGetBestSize is not correct for bitmap buttons
+ wxSize DoGetBestSize() const
+ { return wxButtonBase::DoGetBestSize(); }
};
#endif // __WX_COCOA_BMPBUTTN_H__
};
#endif // __WX_COCOA_BMPBUTTN_H__