Spelling fixes in comments in wxOSX.
No real changes. Closes #14932. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -434,7 +434,7 @@ static pascal OSStatus wxMacUnicodeTextControlControlEventHandler( EventHandlerC
|
|||||||
ControlPartCode controlPart = cEvent.GetParameter<ControlPartCode>(kEventParamControlPart , typeControlPartCode );
|
ControlPartCode controlPart = cEvent.GetParameter<ControlPartCode>(kEventParamControlPart , typeControlPartCode );
|
||||||
if ( controlPart == kControlFocusNoPart )
|
if ( controlPart == kControlFocusNoPart )
|
||||||
{
|
{
|
||||||
// about to loose focus -> store selection to field
|
// about to lose focus -> store selection to field
|
||||||
focus->GetData<ControlEditTextSelectionRec>( 0, kControlEditTextSelectionTag, &focus->m_selection );
|
focus->GetData<ControlEditTextSelectionRec>( 0, kControlEditTextSelectionTag, &focus->m_selection );
|
||||||
}
|
}
|
||||||
result = CallNextEventHandler(handler,event) ;
|
result = CallNextEventHandler(handler,event) ;
|
||||||
|
@@ -450,7 +450,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
|
|||||||
if ( wxpeer )
|
if ( wxpeer )
|
||||||
{
|
{
|
||||||
wxpeer->HandleActivated(0, false);
|
wxpeer->HandleActivated(0, false);
|
||||||
// as for wx the deactivation also means loosing focus we
|
// as for wx the deactivation also means losing focus we
|
||||||
// must trigger this manually
|
// must trigger this manually
|
||||||
[window makeFirstResponder:nil];
|
[window makeFirstResponder:nil];
|
||||||
|
|
||||||
|
@@ -566,7 +566,7 @@ void wxHIDJoystick::BuildCookies(CFArrayRef Array)
|
|||||||
|
|
||||||
//
|
//
|
||||||
// I wasted two hours of my life on this line :(
|
// I wasted two hours of my life on this line :(
|
||||||
// accidently removed it during some source cleaning...
|
// accidentally removed it during some source cleaning...
|
||||||
//
|
//
|
||||||
MakeCookies(Array);
|
MakeCookies(Array);
|
||||||
|
|
||||||
|
@@ -489,7 +489,7 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags)
|
|||||||
|
|
||||||
if (GetWindowStyle() & wxSL_LABELS)
|
if (GetWindowStyle() & wxSL_LABELS)
|
||||||
{
|
{
|
||||||
// make sure we don't allow the entire control to be resized accidently
|
// make sure we don't allow the entire control to be resized accidentally
|
||||||
if (width == GetSize().x)
|
if (width == GetSize().x)
|
||||||
m_minWidth = -1;
|
m_minWidth = -1;
|
||||||
}
|
}
|
||||||
|
@@ -387,7 +387,7 @@ bool wxWindowMac::MacIsUserPane() const
|
|||||||
/*
|
/*
|
||||||
* Right now we have the following setup :
|
* Right now we have the following setup :
|
||||||
* a border that is not part of the native control is always outside the
|
* a border that is not part of the native control is always outside the
|
||||||
* control's border (otherwise we loose all native intelligence, future ways
|
* control's border (otherwise we lose all native intelligence, future ways
|
||||||
* may be to have a second embedding control responsible for drawing borders
|
* may be to have a second embedding control responsible for drawing borders
|
||||||
* and backgrounds eventually)
|
* and backgrounds eventually)
|
||||||
* so all this border calculations have to be taken into account when calling
|
* so all this border calculations have to be taken into account when calling
|
||||||
@@ -2876,4 +2876,4 @@ bool wxWidgetImpl::NeedsFrame() const
|
|||||||
|
|
||||||
void wxWidgetImpl::SetDrawingEnabled(bool WXUNUSED(enabled))
|
void wxWidgetImpl::SetDrawingEnabled(bool WXUNUSED(enabled))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user