Mattia Barbon
d122f8c745
wxX11 STL-ification.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 21:01:31 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Julian Smart
47cd661014
Call base OnInternalIdle
...
Use wxUniv textctrl implementation in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 19:39:16 +00:00
Julian Smart
e39af974ef
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
...
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
sends wxUpdateUIEvents, and can be overridden. It has a helper function
DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
accelerators don't always get called since menu items may still
be disabled.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Mattia Barbon
395cb311cf
Remove deprecated methods use.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-02 20:52:47 +00:00
Mattia Barbon
ed39ff57b3
Remove unnecessary header dependencies. Fix resulting compilation
...
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
8c3289daa4
More casting to make gcc 3.2 behave.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:47:22 +00:00
Julian Smart
f9c62cfcdd
And some more casting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 22:00:37 +00:00
Julian Smart
a336f999c2
Added size_t cast to disambiguate array usage.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 21:54:42 +00:00
Julian Smart
65c745fe97
Corrected PositionToXY, XYToPosition code
...
Implemented GetSelection, SetInsertionPoint(End)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 14:23:03 +00:00
Julian Smart
68148776b9
Fixed single-line text control breakage (sorry). Now only
...
skips the refresh when the new and old values are the same.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 13:00:04 +00:00
Robert Roebling
5d8301397c
wxTextCtrl::SetValue() sets m_modified to FALSE.
...
Make scrollbars take MSW's "empty" look on start-up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 21:48:06 +00:00
Robert Roebling
8c69597207
A little less flicker when selecting text.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 18:05:44 +00:00
Julian Smart
968602f890
Changed caret to black and made it go when control isn't focussed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:47:20 +00:00
Robert Roebling
40de795fb9
Further work on wxTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 20:46:55 +00:00
Robert Roebling
cf76eeeca0
Make text control send text update events.
...
Something else.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 14:46:44 +00:00
Robert Roebling
46e87167f1
Further work on wxTextCrl.
...
Makefile fix for wxEmulator.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 10:18:46 +00:00
Robert Roebling
82434104d5
Added support for variable-width fonts
...
to wxTextCtrl. This excludes syntax
highlighting, which is probably OK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 18:11:36 +00:00
Robert Roebling
ee1797f141
Fix some crashes in new wxTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 19:40:57 +00:00
Robert Roebling
4175e95227
Temporarily use self-made wxTextCtrl in wxX11 until
...
the in /src/univ.cpp works better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:41:59 +00:00