/////////////////////////////////////////////////////////////////////////////
-// Name: cocoa/statbox.mm
+// Name: src/cocoa/statbox.mm
// Purpose: wxStaticBox
// Author: David Elliott
// Modified by:
// Created: 2003/02/15
-// RCS-ID: $Id:
+// RCS-ID: $Id$
// Copyright: (c) 2003 David Elliott
-// Licence: wxWidgets licence
+// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
+
+#include "wx/statbox.h"
+
#ifndef WX_PRECOMP
#include "wx/app.h"
- #include "wx/statbox.h"
#endif //WX_PRECOMP
#include "wx/cocoa/autorelease.h"
if(nextBorder > *borderOther)
*borderOther = nextBorder;
}
-
#include "wx/math.h"
#include "wx/utils.h"
#include "wx/settings.h"
+ #include "wx/statbox.h"
#endif // WX_PRECOMP
#include "wx/sizer.h"
-#include "wx/statbox.h"
#include "wx/listimpl.cpp"
#if WXWIN_COMPATIBILITY_2_4
/////////////////////////////////////////////////////////////////////////////
-// Name: generic/statline.cpp
+// Name: src/generic/statline.cpp
// Purpose: a generic wxStaticLine class
// Author: Vadim Zeitlin
// Created: 28.06.99
// ----------------------------------------------------------------------------
#include "wx/wxprec.h"
-#if wxUSE_STATLINE
+
// For compilers that support precompilation, includes "wx.h".
#ifdef __BORLANDC__
#pragma hdrstop
#endif
+#if wxUSE_STATLINE
+
#include "wx/statline.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbox.h"
+#endif
// ============================================================================
// implementation
#include "wx/dialog.h"
#include "wx/scrolbar.h"
#include "wx/stattext.h"
+ #include "wx/statbox.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/radiobox.h"
#include "wx/spinbutt.h"
-#include "wx/statbox.h"
#include "wx/sizer.h"
#include "wx/mac/uma.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: generic/statline.cpp
-// Purpose: a generic wxStaticLine class
+// Name: src/mac/carbon/statline.cpp
+// Purpose: wxStaticLine class
// Author: Vadim Zeitlin
// Created: 28.06.99
// Version: $Id$
#endif
#include "wx/statline.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbox.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticLine, wxControl)
/////////////////////////////////////////////////////////////////////////////
-// Name: generic/statline.cpp
+// Name: src/mac/carbon/statlmac.cpp
// Purpose: a generic wxStaticLine class
// Author: Vadim Zeitlin
// Created: 28.06.99
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#if wxUSE_STATLINE
-
#ifdef __BORLANDC__
#pragma hdrstop
#endif
+#if wxUSE_STATLINE
+
#include "wx/statline.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbox.h"
+#endif
#include "wx/mac/uma.h"
long style,
const wxString &name)
{
- m_macIsUserPane = FALSE ;
-
+ m_macIsUserPane = false ;
+
if ( !wxStaticLineBase::Create(parent, id, pos, size,
style, wxDefaultValidator, name) )
return false;
Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
m_peer = new wxMacControl(this) ;
- verify_noerr(CreateSeparatorControl(MAC_WXHWND(parent->MacGetTopLevelWindowRef()),&bounds, m_peer->GetControlRefAddr() ) ) ;
+ verify_noerr(CreateSeparatorControl(MAC_WXHWND(parent->MacGetTopLevelWindowRef()),&bounds, m_peer->GetControlRefAddr() ) ) ;
MacPostControlCreate(pos,size) ;
- return TRUE;
+ return true;
}
#endif //wxUSE_STATLINE
#include "wx/settings.h"
#include "wx/msgdlg.h"
#include "wx/scrolbar.h"
+ #include "wx/statbox.h"
#endif
#include "wx/layout.h"
-#include "wx/statbox.h"
#include "wx/tooltip.h"
#include "wx/statusbr.h"
#include "wx/menuitem.h"
#include "wx/dialog.h"
#include "wx/scrolbar.h"
#include "wx/stattext.h"
+ #include "wx/statbox.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/radiobox.h"
#include "wx/spinbutt.h"
-#include "wx/statbox.h"
#include "wx/sizer.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
/////////////////////////////////////////////////////////////////////////////
-// Name: generic/statline.cpp
-// Purpose: a generic wxStaticLine class
+// Name: src/mac/classic/statline.cpp
+// Purpose: wxStaticLine class
// Author: Vadim Zeitlin
// Created: 28.06.99
// Version: $Id$
#endif
#include "wx/statline.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbox.h"
+#endif
// ============================================================================
// implementation
const wxString &name)
{
if ( !CreateBase(parent, id, pos, size, style, wxDefaultValidator, name) )
- return FALSE;
+ return false;
// ok, this is ugly but it's better than nothing: use a thin static box to
// emulate static line
// m_statbox = new wxStaticBox(parent, id, wxT(""), pos, sizeReal, style, name);
- return TRUE;
+ return true;
}
/////////////////////////////////////////////////////////////////////////////
-// Name: generic/statline.cpp
+// Name: src/mac/classic/statlmac.cpp
// Purpose: a generic wxStaticLine class
// Author: Vadim Zeitlin
// Created: 28.06.99
#endif
#include "wx/statline.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbox.h"
+#endif
#include "wx/mac/uma.h"
Rect bounds ;
Str255 title ;
-
+
MacPreControlCreate( parent , id , wxEmptyString , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ;
- m_macControl = (WXWidget) ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1,
+ m_macControl = (WXWidget) ::NewControl( MAC_WXHWND(parent->MacGetRootWindow()) , &bounds , title , false , 0 , 0 , 1,
kControlSeparatorLineProc , (long) this ) ;
-
+
MacPostControlCreate() ;
- return TRUE;
+ return true;
}
#include "wx/settings.h"
#include "wx/msgdlg.h"
#include "wx/scrolbar.h"
+ #include "wx/statbox.h"
#endif
#include "wx/layout.h"
#include "wx/listbox.h"
-#include "wx/statbox.h"
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/tooltip.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/panel.h"
+ #include "wx/statbox.h"
#endif
#include "wx/sizer.h"
#include "wx/gbsizer.h"
-#include "wx/statbox.h"
#include "wx/notebook.h"
#include "wx/tokenzr.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: xh_stbox.cpp
+// Name: src/xrc/xh_stbox.cpp
// Purpose: XRC resource for wxStaticBox
// Author: Brian Gavin
// Created: 2000/09/09
#pragma hdrstop
#endif
-#if wxUSE_XRC
+#if wxUSE_XRC && wxUSE_STATBOX
#include "wx/xrc/xh_stbox.h"
-#include "wx/statbox.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/statbox.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticBoxXmlHandler, wxXmlResourceHandler)
wxStaticBoxXmlHandler::wxStaticBoxXmlHandler()
-: wxXmlResourceHandler()
+ :wxXmlResourceHandler()
{
AddWindowStyles();
}
return IsOfClass(node, wxT("wxStaticBox"));
}
-#endif // wxUSE_XRC
+#endif // wxUSE_XRC && wxUSE_STATBOX