wxWidgets/include/wx/osx
Vadim Zeitlin 41f4b1716d Set initial wxTextCtrl text earlier in wxOSX
This reverts the changes of 63bcc669d8 (fixing setting initial value
under osx_cocoa for single line text controls, 2009-10-01) and fixes the
problem which this commit probably tried to fix in a different way,
using the same approach as in 98f5315405 (Don't set initial label in
wxNativeWindow on OS X, 2016-04-29) as the real root of the problem was
that the text set in CreateTextControl() was overwritten later when the
label was set from SetPeer().

This change means that the text is now set correctly before SetPeer()
calls SetInitialSize() call, which makes it possible to set the correct
initial size based on the initial text, as will be done in later
commits.

It also makes Cocoa port more consistent with iOS one, as a nice side
effect.
2020-06-08 15:29:42 +02:00
..
carbon Remove unused carbon files 2020-01-23 21:13:11 +01:00
cocoa Set initial wxTextCtrl text earlier in wxOSX 2020-06-08 15:29:42 +02:00
core make NSString conversions available for all osx platforms 2020-04-07 12:04:01 +02:00
iphone adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
private Changing datatransfer implementation from CFPasteboard to NSPasteboard API (#1264) 2019-10-08 06:32:44 +02:00
accel.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
activityindicator.h Add wxActivityIndicator control. 2015-03-20 00:08:37 +01:00
anybutton.h Addition of overrides in anybutton.h, collpaneg.h, notebook.h, spinctlg.h, srchctrl.h and radiobox.h 2015-11-22 10:15:41 +01:00
app.h Allow automatic OS-provided tabbing to be disabled in wxOSX 2019-12-09 22:46:04 +01:00
appprogress.h Add OS X implementation of wxAppProgressIndicator. 2015-02-15 20:09:10 +00:00
bitmap.h Fix creating wxMask image from raw data 2019-09-29 16:21:45 +02:00
bmpbuttn.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
brush.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
button.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
checkbox.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
checklst.h Addition of overrides in checklst.h and listbox.h 2015-11-22 10:12:58 +01:00
chkconf.h Remove wxOSX/Carbon support. 2016-02-01 13:48:48 +01:00
choice.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
clipbrd.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
colordlg.h Make wxColourData parameter of wxColourDialog ctor const 2019-07-16 20:19:33 +02:00
colour.h
combobox.h Replace dynamic casts with virtual wxWindow::WXGetTextEntry() 2020-01-09 23:25:49 +01:00
config_xcode.h Assume dlerror() function is always available when dlopen() is 2020-05-15 00:00:06 +02:00
control.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
cursor.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dataform.h Remove redundant const from Mac wxDataFormat methods return type 2020-01-09 22:43:12 +01:00
dataobj2.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dataobj.h adding implementation for GetMatchingPair on macOS, streamlining wxDataObject 2020-04-26 17:50:33 +02:00
dataview.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
datectrl.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
datetimectrl.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dc.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
dcclient.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dcmemory.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dcprint.h Don't use void for functions without arguments 2019-10-02 20:40:51 +02:00
dcscreen.h Remove Carbon-specific code from wxScreenDC implementation 2019-10-27 01:44:29 +02:00
dialog.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dirdlg.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
dnd.h Changing datatransfer implementation from CFPasteboard to NSPasteboard API (#1264) 2019-10-08 06:32:44 +02:00
dvrenderer.h Add wxDataViewValueAdjuster 2016-12-11 15:20:42 +01:00
dvrenderers.h Implement macOS-specific wxDataViewCheckIconTextRenderer 2019-10-21 21:14:54 +02:00
evtloop.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
evtloopsrc.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filedlg.h Add more wxOVERRIDE to avoid clang warnings 2019-04-17 19:05:31 +02:00
font.h Change fractional point size from float to double 2020-04-21 09:00:04 -07:00
fontdlg.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
frame.h Removing manual focus handling 2018-01-18 19:42:08 +01:00
fswatcher_fsevents.h Use FSEvents in wxFileSystemWatcher on OS X 2015-06-06 02:37:35 +04:00
gauge.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
glcanvas.h Disable OpenGL functions deprecation warnings in wxOSX 2020-05-27 00:28:21 +02:00
joystick.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
listbox.h Remove unneeded overrides 2019-04-05 10:54:54 -07:00
mdi.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
menu.h Remove useless wxMenu::Break() override in wxOSX 2020-04-18 00:44:20 +02:00
menuitem.h Add more wxOVERRIDE to avoid clang warnings 2019-04-17 19:05:31 +02:00
metafile.h Don't use void for functions without arguments 2019-10-02 20:40:51 +02:00
mimetype.h
minifram.h No changes, just remove redundant "inline" from wxOSX headers 2015-10-25 18:20:32 +01:00
msgdlg.h Add more wxOVERRIDE to avoid clang warnings 2019-04-17 19:05:31 +02:00
nonownedwnd.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
notebook.h Addition of overrides in anybutton.h, collpaneg.h, notebook.h, spinctlg.h, srchctrl.h and radiobox.h 2015-11-22 10:15:41 +01:00
palette.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
pen.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
popupwin.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
printdlg.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
printmac.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
private.h moving datatransfer.h to source files 2019-11-05 19:20:51 +01:00
radiobox.h Remove unneeded overrides 2019-04-05 10:54:54 -07:00
radiobut.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
region.h
scrolbar.h Addition of overrids in scrolbar.h, slider.h and vscroll.h 2015-11-22 10:14:29 +01:00
setup0.h Update setup.h files 2020-01-15 15:58:30 +01:00
setup_inc.h Add recent macOS setup.h defines to correct file 2018-10-24 19:30:41 +02:00
slider.h Remove unneeded overrides 2019-04-05 10:54:54 -07:00
sound.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
spinbutt.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
srchctrl.h Declare wxSearchCtrl::{Set,Get}DescriptiveText() in the base class 2018-01-27 13:38:47 +01:00
statbmp.h macOS, iOS native implementation for wxStaticBitmap 2018-09-25 15:22:56 +02:00
statbox.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
statline.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
stattext.h Rename wxStaticText::Do[SG]etLabel() to WX[SG]etVisibleLabel() 2019-06-19 18:15:57 +02:00
statusbr.h added missing override 2018-06-15 10:06:17 +02:00
taskbarosx.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
textctrl.h Remeasure magic values for wxTextCtrl's border width on wxOSX/Cocoa 2020-05-19 00:18:51 -04:00
textentry.h Add more wxOVERRIDE to avoid clang warnings 2019-04-17 19:05:31 +02:00
tglbtn.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
timectrl.h More use of wxOVERRIDE 2019-04-05 11:08:53 -07:00
toolbar.h Remove all trailing spaces 2019-01-30 17:35:54 +01:00
tooltip.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
toplevel.h Remove all trailing spaces 2019-01-30 17:35:54 +01:00
uma.h Remove wxOSX/Carbon support. 2016-02-01 13:48:48 +01:00
webview_webkit.h Fix macOS memory leaks, also avoid false positive warnings from clang analyzer 2019-04-21 23:52:37 +02:00
webviewhistoryitem_webkit.h make sure platform constants exist by using defs.h instead of setup.h 2014-03-31 11:23:46 +00:00
window.h Use base implementation of dragAcceptFiles in wxOSX 2019-02-02 22:43:14 +01:00