Václav Slavík
8902898054
fixed win32 code to not use MB_ERR_INVALID_CHARS on win version where it isn't available; roundtrip check is used instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 17:36:36 +00:00
Julian Smart
619111b9aa
Fixed wxGenericFileDialog to work with WinCE, so it can be used to
...
replace native dialog that doesn't allow access to all folders.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 10:44:48 +00:00
Mart Raudsepp
a5bb4f8293
Remove semicolon after if statmce that can potentially cause harm later. Patch #1443820 from Paul Cornett
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-06 02:17:49 +00:00
Włodzimierz Skiba
51bc4da1e9
Minimal (nearly empty) wxDisplay for wxMGL (to compensate src/common/tplvcmn.cpp wxDisplay usage).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 23:42:03 +00:00
Vadim Zeitlin
2934338f05
use WXSIZEOF() instead of hardcoded number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 20:52:34 +00:00
Vadim Zeitlin
0e5edcda8a
don't Printf() a string into itself (bug indicated by patch 1443669)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 20:50:25 +00:00
Vadim Zeitlin
2353544718
fix to last custom draw fix: only leave space for the image in the first column
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 13:30:11 +00:00
Vadim Zeitlin
8a5434c1a5
corrected typo in PRC Envelope paper definition (used m instead of mm)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 12:40:46 +00:00
Vadim Zeitlin
25e6a4a698
another custom draw fix: leave space for the image even if the current item doesn't have any but the list control has an image list (because this is what the standard drawing procedure does)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 12:12:11 +00:00
Vadim Zeitlin
13845bd57c
don't trust CDIS_FOCUS flag vale in custom drawing code, it is no more correct than CDIS_SELECTED so we have to get it from the control itself directly too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 11:26:13 +00:00
Vadim Zeitlin
9d0b3fc5b7
removed main() definition from wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 00:52:56 +00:00
Włodzimierz Skiba
40319aa0ce
Build fix: help OW 1.4 to apply template.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-05 00:38:59 +00:00
Vadim Zeitlin
94245f6df0
handle size==-1 or absence of size parameter in font tag as expected, i.e. by ignoring it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 22:40:16 +00:00
Vadim Zeitlin
f0756835d5
don't send mouse events to disabled windows (this really shouldn't be possible as otherwise it allows the user to modify the state of a disabled control)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 22:09:40 +00:00
Vadim Zeitlin
f124c9086b
no real changes; just streamlined ifdef around compositing check and removed redundant and never executing code to relay mouse enter/leave events to tooltips
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 21:28:39 +00:00
Vadim Zeitlin
9a6a4f6d57
deselect the current selection when the user clicks outside of any item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:42:54 +00:00
Włodzimierz Skiba
5b7df27e4c
More informative comment about previous commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:34:12 +00:00
Vadim Zeitlin
75ae9acfa8
fixed crash due to double deletion of wxListTextCtrlWrapper intorduced in a recent change (wrong use of PopEventHandler instead of RemoveEventHandler)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 20:24:48 +00:00
Vadim Zeitlin
ebadbb76d3
centre icon and text vertically in the report view (previously the text wasn't aligned with the icon if their heights was different)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 19:52:10 +00:00
Vadim Zeitlin
d54a3e735e
recognize wxBORDER_XXX as well as wxXXX_BORDER styles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 18:55:38 +00:00
Julian Smart
f350d4b2ee
If context menu not handled, treat as left click instead.
...
If handled, don't send a left click event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 18:18:28 +00:00
Václav Slavík
1e22bc9233
added comments clarifying the code a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 11:12:02 +00:00
Vadim Zeitlin
48733d4741
move the code freeing temporary argv array to wxEntry(HINSTANCE) overload to avoid doing it twice in some cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 23:06:54 +00:00
Włodzimierz Skiba
5ff845876f
Stop invalidating size on wxTLW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-03 15:26:14 +00:00
Stefan Csomor
5eef2b35e3
fix unresolved symbol under 10.3.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 20:02:44 +00:00
Julian Smart
6b775e666c
On WinCE, generic font dialog didn't work because the point size wxChoice
...
menu went off the display. Now a wxSpinCtrl is used. Also fixed the preview
window in PDA mode (was invisible).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:57:30 +00:00
Julian Smart
07225d48b6
Application clipping region can be set to null without affecting
...
paint clipping region. This fixes severe refresh problems on WinCE
when clipping regions are used, and is experimental on desktop wxMSW
but so far works fine.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:54:47 +00:00
Julian Smart
3919d5306a
Worked around a crash in wxHTML on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:51:22 +00:00
Julian Smart
dd28209328
Use temp directory and don't prepend two backslashes, on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 12:46:06 +00:00
Robert Roebling
3f3af7e7f8
Change wxVariant GetValue() to GetValue( wxVariant & ).
...
More cool sorting code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 10:46:01 +00:00
Robert Roebling
04e044c4d6
Use GTK+ function to obtain GdkWindow for wxListBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-02 09:55:07 +00:00
Robert Roebling
fe39b16a97
Apply patch which makes it possible to resize a
...
control in a toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 22:43:57 +00:00
Robert Roebling
dcd3c79cfa
Corrected scrolling when using cursor keys.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 22:17:16 +00:00
Robert Roebling
4a46cbe8c6
Applied Ryan's native wxListBox and wxCheckListBox patch
...
in slightly modified form..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 21:51:42 +00:00
Robert Roebling
4eccd3a10f
Further sorting work using the sorting data model.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-01 10:49:06 +00:00
Robert Roebling
241cb04bd8
Don't delete model in views destructor as several
...
views can have the same model and memory doesn't
like getting freed several times.
Sorting actually works. Not yet editing the sorted
data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 21:41:13 +00:00
Robert Roebling
8f850e2831
Moved code around preparing the sorted model.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 15:04:25 +00:00
Julian Smart
7d4f65e393
Added context menu support under PocketPC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 13:37:23 +00:00
Robert Roebling
8981608c69
Added wxDataViewSortedListModel, which doesn't work
...
yet, but you get the idea..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 10:47:28 +00:00
Kevin Hock
30bbf68d3a
Make SetLocal actually work instead of crashing immediately; due to required longevity of the item to make it from SetLocal to Connect, we need to use a specifc address type.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-28 02:04:29 +00:00
Robert Roebling
f0bc6afbbd
First release mouse, then emit event.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 21:49:48 +00:00
Vadim Zeitlin
e2fb71bc85
fix for wxPathList::FindValidPath() for wxUSE_STL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 15:14:27 +00:00
Robert Roebling
3c05fe1dbc
Removed superfluous code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 14:20:44 +00:00
Robert Roebling
5d605a6995
MVC works now.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 14:18:24 +00:00
Robert Roebling
b5d777c78e
Added generic MVC hookup code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 13:09:41 +00:00
Robert Roebling
7ea3a0de1e
Most things about wxDataViewDateCell work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:34:50 +00:00
Robert Roebling
33c0d0ed75
Make wxTransientPopupWindow ignore button down events
...
which have been sent before or at the same time as
the control creation time so that these evens don't
make the control disappear again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-27 09:16:28 +00:00
Stefan Neis
9e87870780
Added handling of dashes (patch #1438894 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 16:53:11 +00:00
Robert Roebling
4d496ecbc4
Some restructuring, beginning of wxDataViewDateCell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 15:48:42 +00:00
Włodzimierz Skiba
c644b82e76
Missing wxPen (dashes) members.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-26 10:45:38 +00:00