Julian Smart
68d31398dd
Applied patch [ 774886 ] wxnotebook bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 16:47:33 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Mattia Barbon
fc10daf37c
wxUSE_STL compilation fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 21:14:14 +00:00
Julian Smart
fda7962d02
Applied patch [ 761138 ] Replaces references to wxT("") and _T("") with wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 08:36:14 +00:00
Vadim Zeitlin
e450aa692b
wxNotebook::HitTest() for wxMSW added (patch 748469)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:02:24 +00:00
Julian Smart
04eb05b01e
Disable non-standard notebook styles if CommCtl doesn't support them.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-05 13:35:50 +00:00
Julian Smart
85b43fbf7a
Attempt to make wxWindows play better with XP themes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-02 10:27:03 +00:00
Julian Smart
ef094fa075
Applied patch [ 619705 ] Fixes wxApp::GetComCtl32Version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:50:55 +00:00
Julian Smart
17816c2e70
Applied patch [ 743194 ] HitTest for wxNotebook
...
Yes, we do need implementations for other platforms,
but it's a start.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:26:09 +00:00
Julian Smart
2ce7af354a
Applied [ 745533 ] implemented wxNotebook::DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-01 13:13:03 +00:00
Julian Smart
b39dbf34b8
Applied patch [ 736322 ] Remove TWINE support, merge it in Wine.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-23 19:16:45 +00:00
Vadim Zeitlin
2015f2b308
fix the wrong size of the first page when it's added to the notebook (replaces patch 728770)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 16:39:59 +00:00
Vadim Zeitlin
efa14cf20a
added assert to check that notebook page does have notebook as parent; removed duplicated AddPage()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-06 17:46:48 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Vadim Zeitlin
0b481c72b6
compilation fix for wxUSE_CONSTRAINTS==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-14 19:40:55 +00:00
Vadim Zeitlin
6dd16e4f26
removed style parameter from MSWCreate(), it is unneeded
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-10 23:27:17 +00:00
Vadim Zeitlin
22f3361e1c
use DECLARE_NO_COPY_CLASS() where applicable (patch 633384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-02 23:38:11 +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
Vadim Zeitlin
43a997b6e2
a better fix for notebook page not being refreshed after Delete()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 22:57:04 +00:00
Vadim Zeitlin
df7145da50
change the selection appropriately (and refresh it as needed) after deleting a notebook page
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:48:45 +00:00
Vadim Zeitlin
0df3fbd72a
don't send dummy scroll events from wxNotebook when the page is changed using the built-in spin control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-10 00:22:49 +00:00
Vadim Zeitlin
aeddd5a582
fixed wxNotebook bg colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:24:11 +00:00
Vadim Zeitlin
a69103348f
create wxNotebook without any extended style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:14:47 +00:00
Robin Dunn
a7ae8fea47
Removed call to SubclassWin since it is already done in
...
MSWCreateControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:12:44 +00:00
Vadim Zeitlin
b225f65995
changed/centralized window creation code to allow wxTLW work in wxUniv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:17:24 +00:00
Vadim Zeitlin
b54e41c529
1. fixed typo ('&' instead of '|') in wxNotebook
...
2. changed wxTC_MULTILINE to be equal to wxNB_MULTILINE and != 0
3. much more efficient selection handling in virtual wxListCtrl,
we can now select 1000000 items without problems
4. kbd/mouse selection (ctrl/shift handling) fixed in wxListCtrl
5. added wxSortedArray::IndexForInsert() and AddAt(), remove Remove(size_t),
use RemoveAt() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:42:35 +00:00
Vadim Zeitlin
10199e27d5
fixed deleting pages from the notebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 19:37:51 +00:00
Vadim Zeitlin
07b8d7ecc3
1. fixed wxGTK notebook which was completely broken by the merge
...
2. added a new file for commno notebook code (nbkbase.cpp)
3. removed 'include "wx/wx.h"' from html files as I got tired of
recompiling them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 18:34:13 +00:00
Vadim Zeitlin
e421922f90
MSW compilation fixes - widgets sample runs!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 00:27:24 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Julian Smart
ae090fdb7f
Support for Cygwin 1.0 (thought it worked before, but...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:04:00 +00:00
Julian Smart
b07664068b
Applied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:14:37 +00:00
Vadim Zeitlin
2e4df4bfaf
1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work
...
2. moved ~50% of the event types in their own headers/sources from event.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-01-31 17:16:40 +00:00
Václav Slavík
b656febdf0
added wxNotebook::AssingImageList
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:25:07 +00:00
Vadim Zeitlin
c42404a58e
fixes for compilation with the old mingw32, wxUSE_NORLANDER_HEADERS is always
...
defined (as 0 or 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:21:21 +00:00
Vadim Zeitlin
d9506e7758
1. wxMSW::wxNotebook::SetPageSize() and SetPadding() added
...
2. wxNavigationKeyEvent changes:
a) doesn't derive from wxCommandEvent any more
b) has a new ShouldPropagate() accessor
c) wxPanel::OnNavigationKey() changed significantly, beware
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 03:05:24 +00:00
Vadim Zeitlin
4b7f216556
1. fixed (to test) the bug with bitmaps without masks in wxImageList
...
2. reorganized wxImageList a bit, created a new wxInvertMask() function
3. an incredibly ugly fix (?) for "unsatisfied constraints" warnings
4. added wxIcon and wxBitmap ctors from XPM
5. XPM handler now creates bitmaps with mask
6. added wxPrinterDC::BitBlt() and DrawBitmap(), cleared the horrible mess in
the wxDC methods with the same names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:38:51 +00:00
Vadim Zeitlin
d9317fd472
1. added wxEnhMetaFileXXX classes
...
2. fixed/added copy/paste for metafiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 23:39:48 +00:00
Julian Smart
9b6b575004
Added Bil Simser to wxBook page; fixed bug in notebook when deleting pages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:45:48 +00:00
Václav Slavík
ad81651f00
removed USE_SHARED_LIBRARY(IES)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:57:30 +00:00
Julian Smart
47f12f58db
Added m_nSelection = -1 fixes to RemovePage, DeleteAllPages (from Scott Newham)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 01:53:44 +00:00
Vadim Zeitlin
3096bd2fa7
include <wx/...> => include "wx/..."
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:50:22 +00:00
Robin Dunn
a6aa9b1ee8
Since wxPanel is now AutoLayout aware, removed indirect auto layouting
...
of child windows from wxNotebook and wxSplitter, as per Robert's
request.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 18:30:47 +00:00
Robin Dunn
0398b1d65d
Size the notebook page when it is added to the notebook.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 17:31:53 +00:00
Karsten Ballüder
223d09f6b5
replaced T() makro with wxT() due to namespace probs, _T() exists, too
...
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
e90c1d2a19
many changes; major ones:
...
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Vadim Zeitlin
74b31181b3
1. Implemented support for different icons for different states (expanded,
...
selected, combination of them) for the tree control (and doc'd it)
2. removed code which was sending extra event if wxFrame::SetSize() was
used
3. important changes to wxWizard interface
4. small compilation corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 22:47:56 +00:00
J. Russell Smyth
7a3ac80489
Added wxNB_LEFT,RIGHT,BOTTOM styles to alter tab placement
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:45:41 +00:00
Vadim Zeitlin
43427087aa
InsertPage/SetSelection bug fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-14 21:41:46 +00:00
J. Russell Smyth
65fd5cb012
Made changes to allow build with new mingw32/gcc-2.95
...
added wxUSE_NORLANDER_HEADERS for mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-04 00:42:51 +00:00