projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added wxGetFontFromUser() similar to wxGetColourFromUser()
[wxWidgets.git]
/
src
/
mac
/
carbon
/
statbox.cpp
diff --git
a/src/mac/carbon/statbox.cpp
b/src/mac/carbon/statbox.cpp
index c50c7d8a28b06d37414f0880f5ef16d01023d90b..529c720da304cd4086e1c25ef30ef8d1973a2528 100644
(file)
--- a/
src/mac/carbon/statbox.cpp
+++ b/
src/mac/carbon/statbox.cpp
@@
-13,6
+13,8
@@
#pragma implementation "statbox.h"
#endif
#pragma implementation "statbox.h"
#endif
+#include "wx/defs.h"
+
#include "wx/statbox.h"
#include "wx/mac/uma.h"
#include "wx/statbox.h"
#include "wx/mac/uma.h"
@@
-41,7
+43,7
@@
bool wxStaticBox::Create(wxWindow *parent, wxWindowID id,
MacPreControlCreate( parent , id , label , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ;
MacPreControlCreate( parent , id , label , pos , size ,style, wxDefaultValidator , name , &bounds , title ) ;
- m_macControl =
UMANewControl( parent->GetMacRootWindow(
) , &bounds , title , false , 0 , 0 , 1,
+ m_macControl =
::NewControl( MAC_WXHWND(parent->MacGetRootWindow()
) , &bounds , title , false , 0 , 0 , 1,
kControlGroupBoxTextTitleProc , (long) this ) ;
MacPostControlCreate() ;
kControlGroupBoxTextTitleProc , (long) this ) ;
MacPostControlCreate() ;