case kControlFocusPrevPart:
case kControlFocusNextPart:
MacFocusPaneText( ( !wasFocused));
- focusResult = (!wasFocused) ? kControlEditTextPart : kControlFocusNoPart;
+ focusResult = (!wasFocused) ? (ControlPartCode) kControlEditTextPart : (ControlPartCode) kControlFocusNoPart;
break;
case kControlFocusNoPart:
return kControlNoPart ;
}
+/*
static pascal void wxMacControlUserPaneBackgroundProc(ControlRef control, ControlBackgroundPtr info)
{
wxTextCtrl *textCtrl = wxDynamicCast( wxFindControlFromMacControl(control) , wxTextCtrl ) ;
if ( win )
win->MacControlUserPaneBackgroundProc(info) ;
}
+*/
#endif
// TXNRegisterScrollInfoProc
if ( ! GetToolBar()->MacGetTopLevelWindow()->MacUsesCompositing() )
{
- WindowRef rootwindow = (WindowRef) GetToolBar()->MacGetTopLevelWindowRef() ;
GetToolBar()->MacWindowToRootWindow( &x , &y ) ;
mac_x += x;
mac_y += y;
{
// we don't adjust twice for the origin
Rect r = wxMacGetBoundsForControl(this , wxPoint( actualX,actualY), wxSize( actualWidth, actualHeight ) , false ) ;
- bool vis = MacIsReallyShown() ;
MacInvalidateBorders() ;