projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More changes needed to fix problems resulting from unnecessary wxCursor changes :-(
[wxWidgets.git]
/
include
/
wx
/
os2
/
control.h
diff --git
a/include/wx/os2/control.h
b/include/wx/os2/control.h
index dc4996c85c38abb4dbc349aa8d05ef4976a9f8f4..dd7076542e7faf0527696c67026a26ef8424e69c 100644
(file)
--- a/
include/wx/os2/control.h
+++ b/
include/wx/os2/control.h
@@
-1,12
+1,12
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: control.h
+// Name:
wx/os2/
control.h
// Purpose: wxControl class
// Author: David Webster
// Modified by:
// Created: 09/17/99
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Purpose: wxControl class
// Author: David Webster
// Modified by:
// Created: 09/17/99
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
-// Licence: wxWi
dget
s licence
+// Licence: wxWi
ndow
s licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_CONTROL_H_
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_CONTROL_H_
@@
-15,7
+15,7
@@
#include "wx/dynarray.h"
// General item class
#include "wx/dynarray.h"
// General item class
-class WXDLL
EXPORT
wxControl : public wxControlBase
+class WXDLL
IMPEXP_CORE
wxControl : public wxControlBase
{
DECLARE_ABSTRACT_CLASS(wxControl)
{
DECLARE_ABSTRACT_CLASS(wxControl)
@@
-30,14
+30,7
@@
public:
,const wxString& rsName = wxControlNameStr
)
{
,const wxString& rsName = wxControlNameStr
)
{
- Create( pParent
- ,vId
- ,rPos
- ,rSize
- ,lStyle
- ,rValidator
- ,rsName
- );
+ Create( pParent, vId, rPos, rSize, lStyle, rValidator, rsName );
}
virtual ~wxControl();
}
virtual ~wxControl();
@@
-51,6
+44,7
@@
public:
);
virtual void SetLabel(const wxString& rsLabel);
);
virtual void SetLabel(const wxString& rsLabel);
+ virtual wxString GetLabel() const { return m_label; }
//
// Simulates an event
//
// Simulates an event
@@
-70,7
+64,7
@@
public:
//
// For ownerdraw items
//
//
// For ownerdraw items
//
- virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* WXUNUSED(pItem)) { return
FALSE
; };
+ virtual bool OS2OnDraw(WXDRAWITEMSTRUCT* WXUNUSED(pItem)) { return
false
; };
virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* WXUNUSED(pItem)) { return 0L; };
wxArrayLong& GetSubcontrols() { return m_aSubControls; }
virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* WXUNUSED(pItem)) { return 0L; };
wxArrayLong& GetSubcontrols() { return m_aSubControls; }
@@
-101,7
+95,7
@@
public:
,long lStyle
);
//
,long lStyle
);
//
- // Create the control of the given class with the given style, returns
FALSE
+ // Create the control of the given class with the given style, returns
false
// if creation failed.
//
bool OS2CreateControl( const wxChar* zClassname
// if creation failed.
//
bool OS2CreateControl( const wxChar* zClassname
@@
-125,10
+119,13
@@
public:
inline void SetYComp(const int nYComp) {m_nYComp = nYComp;}
private:
inline void SetYComp(const int nYComp) {m_nYComp = nYComp;}
private:
- int m_nXComp;
- int m_nYComp;
- DECLARE_EVENT_TABLE()
+ int m_nXComp;
+ int m_nYComp;
+
+ wxString m_label;
+ WXDWORD m_dwStyle;
+
+ DECLARE_EVENT_TABLE()
}; // end of wxControl
#endif // _WX_CONTROL_H_
}; // end of wxControl
#endif // _WX_CONTROL_H_
-