]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/textctrl.cpp
focus setting must be possible even when not shown yet
[wxWidgets.git] / src / mac / carbon / textctrl.cpp
index 47506b8948126ed0e2bd53f3afc64de5b16b4e12..19bee0ff660adc519f6fb926ec3e1a30aa1c5ccc 100644 (file)
@@ -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;