projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't rely on __GXX_RTTI being defined with g++ < 4.3.
[wxWidgets.git]
/
include
/
wx
/
univ
/
statbox.h
diff --git
a/include/wx/univ/statbox.h
b/include/wx/univ/statbox.h
index f242c1bb03ffffe4578acae47d2bea70b8eaa3e7..eb1cb116c84bcbadfb70d6ab4a6388b8ba534445 100644
(file)
--- a/
include/wx/univ/statbox.h
+++ b/
include/wx/univ/statbox.h
@@
-12,7
+12,7
@@
#ifndef _WX_UNIV_STATBOX_H_
#define _WX_UNIV_STATBOX_H_
#ifndef _WX_UNIV_STATBOX_H_
#define _WX_UNIV_STATBOX_H_
-class WXDLL
EXPORT
wxStaticBox : public wxStaticBoxBase
+class WXDLL
IMPEXP_CORE
wxStaticBox : public wxStaticBoxBase
{
public:
wxStaticBox() { }
{
public:
wxStaticBox() { }
@@
-47,6
+47,10
@@
public:
// take account of this
virtual wxPoint GetBoxAreaOrigin() const;
// take account of this
virtual wxPoint GetBoxAreaOrigin() const;
+ // returning true from here ensures that we act as a container window for
+ // our children
+ virtual bool IsStaticBox() const { return true; }
+
protected:
// draw the control
virtual void DoDraw(wxControlRenderer *renderer);
protected:
// draw the control
virtual void DoDraw(wxControlRenderer *renderer);
@@
-54,10
+58,6
@@
protected:
// get the size of the border
wxRect GetBorderGeometry() const;
// get the size of the border
wxRect GetBorderGeometry() const;
- // returning true from here ensures that we act as a container window for
- // our children
- virtual bool IsStaticBox() const { return true; }
-
private:
DECLARE_DYNAMIC_CLASS(wxStaticBox)
};
private:
DECLARE_DYNAMIC_CLASS(wxStaticBox)
};