focus setting must be possible even when not shown yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f9668ef0e1
commit
80965ff88e
@ -439,7 +439,7 @@ static pascal ControlPartCode TPPaneFocusProc(ControlHandle theControl, ControlF
|
||||
/* set up locals */
|
||||
focusResult = kControlFocusNoPart;
|
||||
tpvars = (STPTextPaneVars **) GetControlReference(theControl);
|
||||
if (tpvars != NULL && IsControlVisible( theControl ) ) {
|
||||
if (tpvars != NULL ) {
|
||||
state = HGetState((Handle) tpvars);
|
||||
HLock((Handle) tpvars);
|
||||
varsp = *tpvars;
|
||||
|
@ -439,7 +439,7 @@ static pascal ControlPartCode TPPaneFocusProc(ControlHandle theControl, ControlF
|
||||
/* set up locals */
|
||||
focusResult = kControlFocusNoPart;
|
||||
tpvars = (STPTextPaneVars **) GetControlReference(theControl);
|
||||
if (tpvars != NULL && IsControlVisible( theControl ) ) {
|
||||
if (tpvars != NULL ) {
|
||||
state = HGetState((Handle) tpvars);
|
||||
HLock((Handle) tpvars);
|
||||
varsp = *tpvars;
|
||||
|
Loading…
Reference in New Issue
Block a user