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
Vadim Zeitlin
96a4cdebda
use the same #if wxUSE_XXX checks in platform-specific files as around wxTextEntryBase implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 00:03:23 +00:00
Vadim Zeitlin
06d7ed27a1
reverted unrelated changes accidentally committed as part of r49411
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-28 00:00:12 +00:00
Paul Cornett
f53c863825
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 22:24:35 +00:00
Vadim Zeitlin
820162a63f
don't delete uninitialized m_eventHandler pointer if initialization failed (patch 1819944)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 21:16:54 +00:00
Paul Cornett
34b1fdebbf
don't include platform headers from public wx header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 19:45:20 +00:00
Paul Cornett
4e7b25f056
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 18:05:28 +00:00
Vadim Zeitlin
2e0d1932aa
fix memory leak in the usage example
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:57:13 +00:00
Julian Smart
013151c744
Implementation of wxSysColourChangedEvent on wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:38:39 +00:00
Julian Smart
a45f904dea
Skip the event to allow further child processing
...
Don't change the background colour explicitly on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:37:54 +00:00
Julian Smart
c0a5145a23
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:35:45 +00:00
Julian Smart
a51d7c4bda
wxSYS_COLOUR_WINDOW is no longer hard-wired in wxGTK
...
Added function to reset stored system colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 17:00:40 +00:00
Julian Smart
52170c5b44
Fixed context menu in wxRichTextCtrl
...
Added colour change event handler to wxRichTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:59:24 +00:00
Julian Smart
6103234e25
Added wxVSCROLL to wxRichTextCtrls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 16:04:20 +00:00
Chris Elliott
653d72b33b
another DMC build fix http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=c++.beta&artnum=684
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 13:24:29 +00:00
Chris Elliott
558820fd08
another DMC build fix ( http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93155 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 12:27:54 +00:00
Julian Smart
599576c7a5
Removed duplicates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-27 08:52:37 +00:00
Vadim Zeitlin
5188000b1d
refresh the item being collapsed when using comctl32.dll v6 as otherwise parts of its selection rectangle may be left on screen
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 23:24:06 +00:00
Vadim Zeitlin
9534d0dfdc
reverted the change of r32940 which worked around a bug due to associating a dummy line with the root group, it's no longer necessary now that the root group line is always NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:53:26 +00:00
Vadim Zeitlin
9a7b779828
fix bug with adding entries to a root group containing only subgroups (as shown by new AddToExistingRoot() unit test)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:50:26 +00:00
Vadim Zeitlin
94c61acc4c
remove more references to wxODBC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:06:40 +00:00
Vadim Zeitlin
9aeb756e5e
removed isql.h and isqlext.h from files.bkl too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 22:00:11 +00:00
Robin Dunn
1a03623cf1
Patch [ 1820537 ] Fix for uninitialized alpha value in wxColour::FromRGBColor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 21:33:52 +00:00
Chris Elliott
8df068caba
another DMC build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:12:10 +00:00
Robin Dunn
5f22a3a953
Move the %disownarg directive to the .i file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 19:06:46 +00:00