Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
f4322df68b
no changes, just removed TABs/trailing spaces
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:56:34 +00:00
Julian Smart
82c51a8ec9
Wine fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:07:59 +00:00
Vadim Zeitlin
6614aa496d
fix for tabs drawing in RTL (patch 1552881)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 16:55:07 +00:00
Włodzimierz Skiba
11e70ae665
WinCE build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 13:23:33 +00:00
Vadim Zeitlin
5482ee0766
change UpdateSelection() parameter type to int from size_t; also replaced remaining -1s with wxNOT_FOUND
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 12:10:01 +00:00
Vadim Zeitlin
a570e8f8fe
added SendPageChanging/ChangedEvent() functions; fixed wxCocoa build broken by wxNotebook::ChangePage() change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 23:41:52 +00:00
Vadim Zeitlin
1d6fcbcc70
added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Jamie Gadd
ebd9ec2931
Need to update the bg brush when the first page is added.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 21:34:54 +00:00
Václav Slavík
22a35096a0
renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Włodzimierz Skiba
57bd4c6031
Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Włodzimierz Skiba
9804d5404a
wxNB_HITTEST_* flags renamed to wxBK_HITTEST_* to serve all book controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-05 12:21:13 +00:00
Vadim Zeitlin
b3e5d05894
we don't need to override MSWTranslateMessage(), it was a wrong workaround for the bug fixed in rev 1.41 of src/msw/evtloop.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-30 23:00:11 +00:00
Vadim Zeitlin
669c595daf
added an extra pixel to the margin in CalcSizeFromPage() (patch 1498847)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:43:11 +00:00
Vadim Zeitlin
d0a84b6338
fill in flags parameter of HitTest() for all book controls; added new wxNB_HITTEST_ONPAGE bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 15:54:24 +00:00
Włodzimierz Skiba
895cc20597
Use bottom flat notebook on PocketPC by default.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 13:12:20 +00:00
Julian Smart
90f9b8ef0c
Reverted last wxBookCtrl change and added alignment check to notebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-06 12:53:31 +00:00
Włodzimierz Skiba
2bd6022f1c
Include commctrl.h properly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:43:05 +00:00
Włodzimierz Skiba
93fbbe0765
Include wx/control.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 10:15:44 +00:00
Włodzimierz Skiba
f38924e863
Include wx/dcmemory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-08 07:58:37 +00:00
Włodzimierz Skiba
ed4b0fdca6
Include wx/dcclient.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 21:51:49 +00:00
Włodzimierz Skiba
670f993563
Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Włodzimierz Skiba
d5da0ce7cb
Include wx/event.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-27 12:47:14 +00:00
Włodzimierz Skiba
e4db172a3b
Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-26 08:21:31 +00:00
Jamie Gadd
5483756fdc
Replace deprecated wxNB_* flags with wxBK_* used in last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 08:43:01 +00:00
Julian Smart
7cc1ad299f
Applied patch [ 1412216 ] non-themed fallback support for other wxNotebook orientation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 15:41:40 +00:00
Julian Smart
64c288fa47
Compile with wxUSE_DYNLIB_CLASS and wxUSE_WXDIB set to 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 16:47:30 +00:00
Julian Smart
88a01064f0
Applied patch [ 1349607 ] [msw] Multiline notebook tab label change can add extra row
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 15:37:04 +00:00
Włodzimierz Skiba
8ecd5de227
[ 1357527 ] Cast to void to silence GCC's warnings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 11:05:31 +00:00
Włodzimierz Skiba
7ec698211d
Various source cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 20:14:39 +00:00
Włodzimierz Skiba
2ddb4d1358
Unified flags for orienting wxBookCtrls (with backward compatibility). Centralised code for sizing internals.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 19:03:06 +00:00
Vadim Zeitlin
259c43f679
more extra semicolons removed (patch 1303724)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 11:16:57 +00:00
Vadim Zeitlin
e1cffcd6e3
don't set focus to a hidden notebook (patch 1299005)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:22:28 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
305561828c
initialize backing store bitmap in Create(), notebook doesn't always get a size event immediately after creation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:11:11 +00:00
Julian Smart
3550706df7
Corrected wrong size used when refreshing notebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 19:11:11 +00:00
Vadim Zeitlin
6143d3b61e
don't try to subclass tab control using the same window proc for our class, this doesn't work (really fixes bug 1222187, thanks go to Dave Dribin)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 21:25:16 +00:00
Julian Smart
2ff53fd302
Applied patch [ 1218849 ] [wxMSW] Removes magic numbers from wxNotebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:34:41 +00:00
Julian Smart
306302e12a
Applied [ 1208344 ] wxNotebook::OnSelChange fix for focus issue
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 11:23:27 +00:00
Vadim Zeitlin
628eae0bcd
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see http://www.solidsteel.nl/users/wxwidgets/viewtopic.php?p=9842#9842 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 23:27:34 +00:00
Vadim Zeitlin
dfb47d834d
subclass all updown controls in notebooks, not just the first one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 19:18:15 +00:00
Vadim Zeitlin
e32703a9d7
don't use dangling HBRUSH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 11:46:45 +00:00
Vadim Zeitlin
014ee083ec
fixed remains of notebook flickering (improved patch 1181975)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 18:10:34 +00:00
Vadim Zeitlin
01c8cbf54d
just some code cleanup: removed m_hwnd macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 17:46:36 +00:00
Julian Smart
92199f4cb8
Use theme and HTML Help headers from Wine (with permission)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-14 16:58:36 +00:00
Julian Smart
4dab527961
Fix for radiobox controls backgrounds being drawn incorrectly on an unthemed
...
(solid colour) wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 15:32:11 +00:00
Mattia Barbon
3c99602b79
Avoid ICE with MinGW 2.95.3.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 22:13:55 +00:00
Julian Smart
2cef71bc23
Remove obsolete includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 18:59:33 +00:00
Julian Smart
254fbd140e
Applied patch [ 1181975 ] [wxMSW] Removes all flicker from wxNotebook
...
with modifications. Disabled until you set USE_NOTEBOOK_ANTIFLICKER
to 1. Also added code to refresh edges of the notebook to eliminate
droppings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-19 08:47:36 +00:00
Robin Dunn
e2f6f8da0e
Applied patch [ 1167891 ] wxNotebook display problem on MSW w/ XP theming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:11:53 +00:00