// wxMac Specific utility functions
//---------------------------------------------------------------------------
-Rect wxMacGetBoundsForControl( wxWindow* window , const wxPoint& pos , const wxSize &size )
-{
- int x ,y , w ,h ;
-
- window->MacGetBoundsForControl( pos , size , x , y, w, h ) ;
- Rect bounds = { y , x , y+h , x+w };
- return bounds ;
-}
-
void wxMacStringToPascal( const wxString&from , StringPtr to )
{
wxCharBuffer buf = from.mb_str( wxConvLocal ) ;
wxASSERT_MSG( (ControlRef) m_macControl != NULL , wxT("No valid mac control") ) ;
}
+Rect wxMacGetBoundsForControl( wxWindow* window , const wxPoint& pos , const wxSize &size )
+{
+ int x ,y , w ,h ;
+
+ window->MacGetBoundsForControl( pos , size , x , y, w, h ) ;
+ Rect bounds = { y , x , y+h , x+w };
+ return bounds ;
+}
+