ControlPartCode controlPart = cEvent.GetParameter<ControlPartCode>(kEventParamControlPart , typeControlPartCode );
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 );
}
result = CallNextEventHandler(handler,event) ;
if ( wxpeer )
{
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
[window makeFirstResponder:nil];
//
// 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);
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)
m_minWidth = -1;
}
/*
* Right now we have the following setup :
* 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
* and backgrounds eventually)
* so all this border calculations have to be taken into account when calling
void wxWidgetImpl::SetDrawingEnabled(bool WXUNUSED(enabled))
{
-}
\ No newline at end of file
+}