Vadim Zeitlin
dff6cf576a
implement wxLocale::GetInfo() using CFLocale (modified patch 1760939)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 16:01:05 +00:00
Vadim Zeitlin
ae6c6c356b
include wx/wxprec.h first (patch 1743343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 15:40:30 +00:00
Vadim Zeitlin
da1994f027
mention that wxTE_PROCESS_ENTER must be used in order to receive EVT_TEXT_ENTER from combobox (to avoid reports such as bug 1820215)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-04 00:06:12 +00:00
Vadim Zeitlin
c114200348
added wxWindow::AlwaysShowScrollbars() and its wxMac implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:14:29 +00:00
Vadim Zeitlin
3a5b9ee8b8
make wxScrollBar derive from wxScrollBarBase under wxMac too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 22:12:26 +00:00
Vadim Zeitlin
7db0d5feb8
set the event object of the menu events to the frame the menu is attached to instead of the menu itself for compatibility with wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 21:48:47 +00:00
Vadim Zeitlin
86f19f7ce5
handle failure of gtk_drag_begin() (which can happen e.g. because gdk_pointer_grab() failed) in DoDragDrop() (patch 1825237) + minor cleanup in trunk version of the code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 21:46:55 +00:00
Paul Cornett
bef5e9e5f6
put dnl on a new line so it doesn't join lines, remove redundant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:44:04 +00:00
Paul Cornett
c2e0288358
do not use [] around tr character ranges, it is not portable and not necessary
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:14:28 +00:00
Paul Cornett
44ad7a093e
fix for configure error message "grep: Unmatched [ or [^"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-03 16:02:40 +00:00
Vadim Zeitlin
0a81a01a46
fix unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 22:07:26 +00:00
Vadim Zeitlin
6f457a7735
don't make the dialog 3 times as wide as the length of the label string, this is excessive (bug 1824673)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 16:11:08 +00:00
Stefan Csomor
cdfc78b892
fixing compile problem, but is it the best way to fix it ?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 14:14:05 +00:00
Vadim Zeitlin
3b49331b74
fix warnings in EventsSuppressor ctor from gcc with -O option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 13:27:38 +00:00
Vadim Zeitlin
f7127b130e
prevent builtin libtiff from using libjpeg if --without-libjpeg was specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 13:22:06 +00:00
Paul Cornett
92646f5a74
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 05:04:26 +00:00
Vadim Zeitlin
af8fc1161c
try (this can be vetoed) to set focus to the listbox before generating the events (patch 1822109)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:27:13 +00:00
Vadim Zeitlin
4660b55651
fixes for DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:05:09 +00:00
Vadim Zeitlin
472eec8a03
use wxTextEntry in wxTextValidator (modified patch 1821743)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:52:40 +00:00
Vadim Zeitlin
b6423e8be3
don't crash in HiglightAll() (called, in particular, from SortItems()) when the control is empty (patch 1821550)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:41:30 +00:00
Vadim Zeitlin
cb776b6671
set the focus to the tree before generating the selection change events to have a more expected (and compatible with other platforms) order of tree and focus events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:26:11 +00:00
Vadim Zeitlin
c1f80bc0a6
made LogLastRepetitionCountIfNeeded() non static to avoid recreating the log target from ~wxLog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 20:22:06 +00:00
Julian Smart
36427ad571
Sizing improvements and read-only preview controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 17:37:29 +00:00
David Elliott
26f1176ecd
Temporary hack to allow wxUSE_FSCRIPT to be set on the compiler command-line
...
until I make a proper configure option for it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 16:51:06 +00:00
David Elliott
a4ee505901
Fix mouse coordinates in scrolled views to be those that wxWidgets expects.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 06:06:07 +00:00
David Elliott
618d53b890
Implement scrolling like wxWindow expects. That is, scrollbars send an event
...
which the application processes to scroll the window the desired amount rather
than letting the toolkit do it.
There's still a lot more to go w.r.t. coordinate system transformations.
Copyright 2007 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 04:25:25 +00:00
Vadim Zeitlin
6aaee6afdc
added wxMessageQueue class for inter-thread communications
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 01:35:20 +00:00
Vadim Zeitlin
d1f7240a09
also assert in generic GetSelection() if the control is in multiselection mode, for consistency with wxMSW and other controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 00:09:13 +00:00
Vadim Zeitlin
f20f1e944c
mention that bitmap must be selected out of wxMemoryDC before being used for anything else (patch 1823516)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 16:14:29 +00:00
Vadim Zeitlin
c7753f0a99
make strings used in the dialog translatable (patch 1823372)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 16:08:18 +00:00
Vadim Zeitlin
b6ea3123b6
replaced a wrong _() with _T() (small part of patch 1822769)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-31 16:06:22 +00:00
Vadim Zeitlin
deac32b034
reverted last changed (r49413) as deleting non-attached menus fails under Windows 95
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-30 18:51:16 +00:00
Vadim Zeitlin
b9a5faed6a
don't set CF_TEXT data in wxURLDataObject in Unicode build, this results in an assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-30 12:50:39 +00:00
Chris Elliott
0a4090e635
move to newer tex2rtf
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-30 10:22:33 +00:00
Vadim Zeitlin
8866abbb17
add wxMouseEvent::GetClickCount() and implement it for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 22:31:18 +00:00
Chris Elliott
75cdd73f80
Watcom needs lfind change too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 20:57:56 +00:00
David Elliott
8e33de15b5
Add WXUNUSED to unused parameters in several inline-implemented methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 16:18:59 +00:00
Vadim Zeitlin
3be7ca6412
define TTF_TRANSPARENT if it's absent from SDK headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 15:27:40 +00:00
Vadim Zeitlin
e61d6c0be3
define HDS_DRAGDROP and HDS_FULLDRAG if the SDK is too old to define them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 13:46:44 +00:00
Chris Elliott
91a151d3a3
DMC work round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 13:33:12 +00:00
Vadim Zeitlin
8cc1b7b526
fix syntax errors in the example
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 12:13:53 +00:00
Vadim Zeitlin
20e44f4f27
fix syntax error in the example
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 12:11:55 +00:00
Vadim Zeitlin
e0d1fd7f6e
fix more unused parameters warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 12:10:48 +00:00
Vadim Zeitlin
2deccb4e8c
run libtiff configure when --with-libtiff=builtin is specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 12:09:59 +00:00
Vadim Zeitlin
613db75659
use TTF_TRANSPARENT to fix problem with flashing tooltips (patch 1821229)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 00:38:57 +00:00
Vadim Zeitlin
7709915e96
use fixed TOOLINFO struct size instead of trying to (wrongly) deduce it from the _WIN32_IE value, fixes bug with tooltips not appearing under Windows 95
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-29 00:33:48 +00:00
Stefan Neis
1044b90c1b
Applied patch #1821711 (workaround for Watcom inconsistency wrt Posix functions)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 18:52:46 +00:00
Stefan Neis
7f2689be39
OS/2 currently unsupported due to platform's insufficient Unicode support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 18:36:28 +00:00
Chris Elliott
33a5660422
2.4 GTK fix as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93157
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 10:54:19 +00:00
Vadim Zeitlin
426272a35e
define wxTIFFHandler ctor in the .cpp file even if wxUSE_STREAMS==0 as it's declared in the header in this case (this doesn't really make much sense as the class is unusable anyhow but the other handlers do it like this so let's do the same thing here for consistency and maybe fix all of them at once later)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 00:08:27 +00:00