projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add wrappers to avoid compiling code which will never be used
[wxWidgets.git]
/
include
/
wx
/
gtk
/
statbox.h
diff --git
a/include/wx/gtk/statbox.h
b/include/wx/gtk/statbox.h
index 015c5280c3abf2f954a5e253dc32729560f0f8bb..77c3393310e13187dfff4c15e383b37d041c6808 100644
(file)
--- a/
include/wx/gtk/statbox.h
+++ b/
include/wx/gtk/statbox.h
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: wx/gtk/stabox.h
+// Name: wx/gtk/sta
t
box.h
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Purpose:
// Author: Robert Roebling
// Id: $Id$
@@
-7,13
+7,8
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
-#ifndef __GTKSTATICBOXH__
-#define __GTKSTATICBOXH__
-
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
+#ifndef _WX_GTKSTATICBOX_H_
+#define _WX_GTKSTATICBOX_H_
//-----------------------------------------------------------------------------
// wxStaticBox
//-----------------------------------------------------------------------------
// wxStaticBox
@@
-45,13
+40,19
@@
public:
// implementation
// implementation
- virtual bool IsTransparentForMouse() const { return TRUE; }
+ virtual bool GTKIsTransparentForMouse() const { return true; }
+
+ virtual void GetBordersForSizer(int *borderTop, int *borderOther) const;
+
+ virtual void AddChild( wxWindowBase *child );
protected:
protected:
+ virtual bool GTKWidgetNeedsMnemonic() const;
+ virtual void GTKWidgetDoSetMnemonic(GtkWidget* w);
+
void DoApplyWidgetStyle(GtkRcStyle *style);
void DoApplyWidgetStyle(GtkRcStyle *style);
-
-private:
+
DECLARE_DYNAMIC_CLASS(wxStaticBox)
};
DECLARE_DYNAMIC_CLASS(wxStaticBox)
};
-#endif // _
_GTKSTATICBOXH_
_
+#endif // _
WX_GTKSTATICBOX_H
_