Václav Slavík
937013e0fd
1. added wxEvtHandler::SafelyProcessEvent() and wxWindow::HandleWindowEvent() to correctly handle exceptions in even handlers in wxGTK
...
2. use HandleWindowEvent() everywhere as more obvious and convenient shortcut for GetEventHandler()->ProcessEvent(); also for consistency with wxGTK where it's required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-29 17:00:58 +00:00
David Elliott
f513aa78ee
Instantiate NSSecureTextField instead of NSTextField when wxTE_PASSWORD is specified.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 16:43:30 +00:00
David Elliott
da19c58b60
wxTextCtrl: Implement alignment flags, editable (read only) status, and GetLastPosition.
...
Patch from Mark Oxenham. Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 21:47:45 +00:00
David Elliott
715b3df02f
Tell NSTextField to send us its action message and respond to it so we can generate wxEVT_COMMAND_TEXT_ENTER.
...
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-10 18:40:56 +00:00
Vadim Zeitlin
ee2ec18e88
moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Julian Smart
9d11268884
Added wxTextCtrlBase to type info, useful if different text control
...
implementations are available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:41:02 +00:00
Włodzimierz Skiba
fec9cc08e7
Include wx/textctrl.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 07:23:19 +00:00
David Elliott
c05c7cb50b
Applied patch 1206278 from Mike Wetherell.
...
Changes ceilf calls to ceil to be compatible with Mac OS 10.1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 04:11:29 +00:00
Włodzimierz Skiba
7d8268a1d6
wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Julian Smart
065e208ec0
More name change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 15:10:40 +00:00
David Elliott
be134f052b
#import <AppKit/NSCell.h>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 14:24:18 +00:00
David Elliott
79e1f224d1
Make DoGetBestSize() always return a width of 100
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-10 03:11:44 +00:00
David Elliott
b0c0a393c4
Unicode build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-22 07:29:54 +00:00
Vadim Zeitlin
3a9fa0d6b5
added wxTextCtrl::MarkDirty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
David Elliott
911e17c6cf
CodeWarrior Obj-C++ requires explicit casts from id to Objective-C types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-02 19:15:44 +00:00
David Elliott
449c567346
Support precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-02 19:03:22 +00:00
David Elliott
9ba1d264f7
Improve default size. If the control is auto-fit its size won't be less
...
than 70 pixels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 20:39:19 +00:00
David Elliott
7fc77f30f4
Put wxAutoNSAutoreleasePool in methods that may be used outside the run loop.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:10:32 +00:00
David Elliott
570aaadf1f
In the object destructor, Disassociate the object from its Cocoa counterpart
...
but leave m_cocoaNSView intact so base class destructors can use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 00:52:50 +00:00
David Elliott
7d27dcf906
Implement SetValue() and GetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 13:43:57 +00:00
David Elliott
fb896a322a
Added original works and stubs to CVS repository
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-21 19:51:47 +00:00