cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2344,7 +2344,7 @@ wxInt16 wxMacMLTEClassicControl::MacControlUserPaneFocusProc(wxInt16 action)
|
||||
case kControlFocusPrevPart:
|
||||
case kControlFocusNextPart:
|
||||
MacFocusPaneText( ( !wasFocused));
|
||||
focusResult = (!wasFocused) ? kControlEditTextPart : kControlFocusNoPart;
|
||||
focusResult = (!wasFocused) ? (ControlPartCode) kControlEditTextPart : (ControlPartCode) kControlFocusNoPart;
|
||||
break;
|
||||
|
||||
case kControlFocusNoPart:
|
||||
@@ -2483,6 +2483,7 @@ static pascal ControlPartCode wxMacControlUserPaneFocusProc(ControlRef control,
|
||||
return kControlNoPart ;
|
||||
}
|
||||
|
||||
/*
|
||||
static pascal void wxMacControlUserPaneBackgroundProc(ControlRef control, ControlBackgroundPtr info)
|
||||
{
|
||||
wxTextCtrl *textCtrl = wxDynamicCast( wxFindControlFromMacControl(control) , wxTextCtrl ) ;
|
||||
@@ -2490,6 +2491,7 @@ static pascal void wxMacControlUserPaneBackgroundProc(ControlRef control, Contro
|
||||
if ( win )
|
||||
win->MacControlUserPaneBackgroundProc(info) ;
|
||||
}
|
||||
*/
|
||||
#endif
|
||||
|
||||
// TXNRegisterScrollInfoProc
|
||||
|
@@ -247,7 +247,6 @@ void wxToolBarTool::SetPosition(const wxPoint& position)
|
||||
|
||||
if ( ! GetToolBar()->MacGetTopLevelWindow()->MacUsesCompositing() )
|
||||
{
|
||||
WindowRef rootwindow = (WindowRef) GetToolBar()->MacGetTopLevelWindowRef() ;
|
||||
GetToolBar()->MacWindowToRootWindow( &x , &y ) ;
|
||||
mac_x += x;
|
||||
mac_y += y;
|
||||
|
@@ -1811,7 +1811,6 @@ void wxWindowMac::DoMoveWindow(int x, int y, int width, int height)
|
||||
{
|
||||
// we don't adjust twice for the origin
|
||||
Rect r = wxMacGetBoundsForControl(this , wxPoint( actualX,actualY), wxSize( actualWidth, actualHeight ) , false ) ;
|
||||
bool vis = MacIsReallyShown() ;
|
||||
|
||||
MacInvalidateBorders() ;
|
||||
|
||||
|
Reference in New Issue
Block a user