Commit Graph

41824 Commits

Author SHA1 Message Date
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
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