}
wxPalette::wxPalette(const wxPalette& palette)
+ : wxGDIObject()
{
Ref(palette);
}
}
wxPropertyValue::wxPropertyValue(const wxPropertyValue& copyFrom)
+ : wxObject()
{
m_value.string = (wxChar*) NULL;
m_modifiedFlag = FALSE;
}
wxProperty::wxProperty(wxProperty& copyFrom)
+ : wxObject()
{
m_value = copyFrom.GetValue();
m_name = copyFrom.GetName();
#pragma hdrstop
#endif
-#if !(defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXPM__)) || defined(__WXMAC__) || \
- defined(__WXUNIVERSAL__)
+#if !(defined(__WXMSW__) || defined(__WXGTK__) || defined(__WXPM__)) || \
+ defined(__WXMAC__) || defined(__WXUNIVERSAL__)
#ifndef WX_PRECOMP
#include "wx/textctrl.h"
END_EVENT_TABLE()
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl, wxControl)
-
+
// ============================================================================
// implementation
// ============================================================================
Cell cell, short dataOffset, short dataLength,
ListHandle listHandle )
{
- FontInfo fontInfo;
GrafPtr savePort;
GrafPtr grafPtr;
RgnHandle savedClipRegion;
Cell cell = { 0 , 0 } ;
if ( ! (m_windowStyle & wxLB_MULTIPLE) )
{
- if ( LGetSelect( true , &cell , (ListHandle)m_macList ) )
- {
- LSetSelect( false , cell , (ListHandle)m_macList ) ;
- }
+ if ( LGetSelect( true , &cell , (ListHandle)m_macList ) )
+ {
+ LSetSelect( false , cell , (ListHandle)m_macList ) ;
+ }
}
cell.v = n ;
}
wxPenRefData::wxPenRefData(const wxPenRefData& data)
+ : wxGDIRefData()
{
m_style = data.m_style;
m_width = data.m_width;
void wxRadioButton::SetValue(bool val)
{
- int i;
wxRadioButton *cycle;
if ( GetControlValue( (ControlHandle) m_macControl ) == val )
return ;
Cell cell, short dataOffset, short dataLength,
ListHandle listHandle )
{
- FontInfo fontInfo;
GrafPtr savePort;
GrafPtr grafPtr;
RgnHandle savedClipRegion;
Cell cell = { 0 , 0 } ;
if ( ! (m_windowStyle & wxLB_MULTIPLE) )
{
- if ( LGetSelect( true , &cell , (ListHandle)m_macList ) )
- {
- LSetSelect( false , cell , (ListHandle)m_macList ) ;
- }
+ if ( LGetSelect( true , &cell , (ListHandle)m_macList ) )
+ {
+ LSetSelect( false , cell , (ListHandle)m_macList ) ;
+ }
}
cell.v = n ;
}
wxPenRefData::wxPenRefData(const wxPenRefData& data)
+ : wxGDIRefData()
{
m_style = data.m_style;
m_width = data.m_width;
void wxRadioButton::SetValue(bool val)
{
- int i;
wxRadioButton *cycle;
if ( GetControlValue( (ControlHandle) m_macControl ) == val )
return ;