projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
additional types for carbon events
[wxWidgets.git]
/
include
/
wx
/
univ
/
statusbr.h
diff --git
a/include/wx/univ/statusbr.h
b/include/wx/univ/statusbr.h
index 85baa6e44fd904ff9c760469084ee6ac142450dd..79116f1919cc047c6b0d87a7c1f2959b954fb1e6 100644
(file)
--- a/
include/wx/univ/statusbr.h
+++ b/
include/wx/univ/statusbr.h
@@
-12,10
+12,6
@@
#ifndef _WX_UNIV_STATUSBR_H_
#define _WX_UNIV_STATUSBR_H_
#ifndef _WX_UNIV_STATUSBR_H_
#define _WX_UNIV_STATUSBR_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
- #pragma interface "univstatusbr.h"
-#endif
-
#include "wx/univ/inpcons.h"
#include "wx/arrstr.h"
#include "wx/univ/inpcons.h"
#include "wx/arrstr.h"
@@
-30,7
+26,7
@@
public:
wxStatusBarUniv() { Init(); }
wxStatusBarUniv(wxWindow *parent,
wxStatusBarUniv() { Init(); }
wxStatusBarUniv(wxWindow *parent,
- wxWindowID id =
-1
,
+ wxWindowID id =
wxID_ANY
,
long style = 0,
const wxString& name = wxPanelNameStr)
{
long style = 0,
const wxString& name = wxPanelNameStr)
{
@@
-40,7
+36,7
@@
public:
}
bool Create(wxWindow *parent,
}
bool Create(wxWindow *parent,
- wxWindowID id =
-1
,
+ wxWindowID id =
wxID_ANY
,
long style = 0,
const wxString& name = wxPanelNameStr);
long style = 0,
const wxString& name = wxPanelNameStr);
@@
-62,6
+58,10
@@
public:
virtual int GetBorderX() const;
virtual int GetBorderY() const;
virtual int GetBorderX() const;
virtual int GetBorderY() const;
+ // wxInputConsumer pure virtual
+ virtual wxWindow *GetInputWindow() const
+ { return wx_const_cast(wxStatusBar*, this); }
+
protected:
// recalculate the field widths
void OnSize(wxSizeEvent& event);
protected:
// recalculate the field widths
void OnSize(wxSizeEvent& event);
@@
-69,10
+69,6
@@
protected:
// draw the statusbar
virtual void DoDraw(wxControlRenderer *renderer);
// draw the statusbar
virtual void DoDraw(wxControlRenderer *renderer);
- // wxInputConsumer pure virtual
- virtual wxWindow *GetInputWindow() const
- { return wxConstCast(this, wxStatusBar); }
-
// tell them about our preferred height
virtual wxSize DoGetBestSize() const;
// tell them about our preferred height
virtual wxSize DoGetBestSize() const;