Robin Dunn
7360b79665
Allow wxMac to have HRULE/VRULEs for wxListCtrl too.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 19:58:55 +00:00
Julian Smart
870c86bc51
AdjustScrollbars can go into an infinite loop, so bail out after a few
...
iterations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-29 09:14:27 +00:00
David Webster
18ed8e0032
Unicode fixes for OS/2 (all inside #ifdef __WXPM__ blocks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-27 01:17:45 +00:00
Włodzimierz Skiba
50807f9083
wxUniversal positioning fix [ #1040625 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-26 19:08:37 +00:00
Julian Smart
6c051af454
Fix for my fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 20:13:13 +00:00
Julian Smart
602f0c99b5
Improve appearance for themes that don't allow background colour change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-23 13:22:30 +00:00
Stefan Csomor
c03bf0c740
fix for drawing correct gridlines even on scrolled positions (wxMac)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-22 06:53:03 +00:00
Robin Dunn
7d75e6c6cf
some extra refreshing and updating on wxMac so the grid renders itself correctly.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-21 19:53:51 +00:00
Ryan Norton
204d3530fd
fixed for w/o expat
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 21:42:17 +00:00
Julian Smart
95ba86d706
Improved spacing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 18:57:23 +00:00
Julian Smart
a9d13e1564
Added destructor to fix crash on Mac due to focus event causing
...
text control to be accessed while being deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:07:30 +00:00
Julian Smart
caad76379f
Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes
...
Jaakko Salli
This patch modifies datectlg.cpp's wxDropdownButton in
such manner that it should be much easier to convert it
into a generic drop button class. Also, it is now more
universal in the respect that it should work on
platforms other than wxMSW and wxGTK (wxBitmapButton
being prime prerequisite).
Plus there are some bug fixes for wxDatePickerCtrlGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:38:23 +00:00
Jouk Jansen
d43e302b68
Committing in .
...
OpenVMS updates
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/generic/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 14:15:54 +00:00
Michael Wetherell
5335e9c406
Temporary compilation fix for wxUSE_INTL=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 12:39:44 +00:00
Václav Slavík
675a9c0de5
use configured scrolling increments (m_scrollLineX/Y) instead of hardcoded constants in all places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 14:36:59 +00:00
Mattia Barbon
67a623de6e
Easy translation of very long strings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 20:32:22 +00:00
Vadim Zeitlin
c3732409ac
simplifications and corrections to background drawing:
...
1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
!HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl
results:
1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 15:23:08 +00:00
Vadim Zeitlin
e18c3e0207
added AddText() function (trivial wrapper around AddFile()), use it in debug rpt preview
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 16:04:22 +00:00
Robin Dunn
046d682f0f
Don't call StartingKey if the key was F2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 17:32:41 +00:00
Vadim Zeitlin
acf094a27c
compilation fix for wxUSE_MIMETYPE == 0; wxFileType memory leak fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 11:46:42 +00:00
Robin Dunn
1c95468e1d
Set the find button to be the default button.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 23:27:33 +00:00
Włodzimierz Skiba
60ad766eb5
[1178593] Outdated exclamation mark.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 14:52:22 +00:00
Julian Smart
c9ab63f44f
As yet unsuccessful attempt to set the focus to the choice control.
...
Also removed unnecessary border style setting code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:13:28 +00:00
Vadim Zeitlin
dd932cbe1c
added GetVisibleBegin/End() to complement/replace GetFirst/LastVisibleLine() and use them in the code to fix problems when the control is empty and GetLastVisibleLine() returns (size_t)-1 (closes bug 1176561)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:43:41 +00:00
Vadim Zeitlin
e111012a42
use wxTE_RICH2 for the text control, it looks better under Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 21:46:37 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Julian Smart
aa66250ba4
Further WinCE adaptations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:44:12 +00:00
Julian Smart
5497e635e0
Only set background colour explicitly for PPC/Smartphone
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:41:08 +00:00
Julian Smart
3bd8a40543
Fixed bug preventing dir enumeration from working on WinCE
...
Prevented crash on WinCE by removing hidden root style
(a bug in Windows causes crash in child traversal/data retrieval)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:38:14 +00:00
Julian Smart
0906c58d05
WinCE adaptations
...
Simplified comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:35:59 +00:00
Julian Smart
03775239e2
WinCE adaptations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:50 +00:00
Robert Roebling
ce17501854
Fix the fix for not sending two end label edit events
...
because that fix prevented anyone from finishing the
edit by keys.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:00:29 +00:00
Julian Smart
c06dde42fe
Applied patch [ 1174270 ] small fixes to wxGenericDirCtrl
...
Stas Sergeev:
1. CollapseDir() was forgetting to... hrmm, to collapse
the dir...
It was only removing the child elements, leaving the dir
expanded. Missing code added.
2. ReCreateTree(), which, according to the comments, must
collapse and re-open the tree, was not re-opening it.
Fixed.
3. For those who used the bogus ReCreateTree() behaviour
to collapse the tree, I added CollapseTree(). This does
visually what the ReCreateTree() wrongly did before the
patch.
4. Documentation is updated accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:04:03 +00:00
Stefan Csomor
8adc196b0e
content clipping becomes a runtime attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:12:46 +00:00
Robert Roebling
dd0138d9a4
Fix bug [ 1170089 ] wxGenericDirCtrl doesn't show files
...
by giving the control a sensible default filter "*"
or "*.*".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 19:45:32 +00:00
Stefan Csomor
4e6b6f210d
handling mac as gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 14:05:12 +00:00
Julian Smart
5755c2b2a5
Allow Initialize(NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 12:22:43 +00:00
Vadim Zeitlin
8d36b2167d
fixed crash introduced by recently applied autowidth patch (patch 1171455)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:05:21 +00:00
Vadim Zeitlin
9ec0e7da98
send wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED only once after end of dragging and not after each CHANGING event (modified patch 1076226)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 15:50:17 +00:00
Robert Roebling
f36a04a7b6
Small fix for generic print dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 12:44:49 +00:00
Robin Dunn
7e24348eb8
Applied patch [ 1170019 ] Fix for wxGTK drop button in datectlg.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 17:34:42 +00:00
Vadim Zeitlin
4c85ab7569
added wxRendererNative::DrawDropArrow (patch 1166596)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:22:04 +00:00
Włodzimierz Skiba
f5c479ccfc
Build fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 19:28:37 +00:00
Vadim Zeitlin
7d4813a0c1
speed up SetColumnWidth() by caching max column width (patch 1156866)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:35:53 +00:00
Włodzimierz Skiba
6f0d2ceef5
Dummy warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 17:29:16 +00:00
Vadim Zeitlin
ba30efbc53
unreachable code warning fix (Unicode build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:44:28 +00:00
Robin Dunn
63e2147c8b
Fixed bug #1163384 . Moved the code that handles activating the cell
...
editors to a EVT_CHAR event handler. This is done so the character
inserted into the editor will be the "cooked" char value (including
accented or composed keys) rather than the raw code provided by the
EVT_KEY_DOWN.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 22:33:17 +00:00
Vadim Zeitlin
60d8e88654
iterator methods fixes (patch 1164808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:19:13 +00:00
Vadim Zeitlin
b618daa350
removed #ifdef __WXMAC__ as the code is now the same in both branches anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:39:27 +00:00
Robin Dunn
0b634ddd08
Use Update() instead of yielding and waiting for the update to happen there.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:35:53 +00:00