Commit Graph

41336 Commits

Author SHA1 Message Date
Vadim Zeitlin
2f3584b169 fix bug with mistakenly recognising 'wxdebug' as 'debug' and 'wxshared' as 'shared' (patch 1787101)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:45:58 +00:00
Vadim Zeitlin
4d5a1b0ab8 declare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header) and add macros for handling it (patch 1788077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:39:11 +00:00
Vadim Zeitlin
6f6a69cb55 don't give spurious error message if non-empty status bar field style is specified in XRC (patch 1791037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:32:44 +00:00
Vadim Zeitlin
5f77ee3b87 fixed off by 1 bug in wxDC::GradientFillLinear() (patch 1788549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:36:50 +00:00
Vadim Zeitlin
ad91e1ade0 fix gcc warnings about float/double to int conversion after the latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:34:01 +00:00
Vadim Zeitlin
2a7431e130 no changes, just added a comment explaining the issues involved in doing the conversion in place in wxCStrData::AsChar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 19:05:20 +00:00
Vadim Zeitlin
28be59b4ad return empty string, not NULL, from wxCStrData::AsChar() if conversion to ANSI fails for compatibility with wxWidgets 2 and std::string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 18:57:41 +00:00
Vadim Zeitlin
37ba70a520 added support for reading resolution information from TIFF, JPEG and BMP formats; corrected some bugs with saving resolution; added command allowing to see the image resolution (if available) to the sample (heavily modified patch 1790546)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 18:32:36 +00:00
Robert Roebling
66e2ba91b2 Compile error (no idea why Mingw doesn't like wxPoint())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 18:08:14 +00:00
Vadim Zeitlin
0766270090 fix file names format in wxFileDataObject::GetDataHere() in Unicode build (replaces patch 1785191)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 11:37:01 +00:00
Vadim Zeitlin
f3955fdff6 added wxDirCtrl to the sample to allow testing of the file names dragging (based on patch attached to the bug 1775213)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 11:28:40 +00:00
Vadim Zeitlin
ab250e5c47 don't pass garbage to SetData() in wxURLDataObject::SetURL()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-08 00:32:56 +00:00
Vadim Zeitlin
4baf78001e better document some of the incompatibilities introduced by the Unicode changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:47:52 +00:00
Vadim Zeitlin
42599b710d change wxCmdLineEntryDesc::short/longName type to wxString for better compatibility with existing Unicode code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:41:56 +00:00
Vadim Zeitlin
a43bd048a3 fix unused parameter warning in wxSetEnv() in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 23:39:22 +00:00
Vadim Zeitlin
e6d4038a8b don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 21:47:45 +00:00
Vadim Zeitlin
066f3611df don't use _T() inside wxGetTranslation() and related macros (wxTRANSLATE, _, ...) to preserve compatibility with the old ASCII build (even at the expense with the Unicode build compatibility)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 19:34:56 +00:00
Vadim Zeitlin
a0fef35d6b changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 19:32:16 +00:00
Vadim Zeitlin
fdbd123ef9 changed wxCmdLineEntryDesc::short/longName fields type to char* from wxChar* (non-ASCII options are uncommon but NULL values are often specified for these fields) and made description field a wxString (as it can be constructed from either char or wchar_t strings and normally shouldn't be NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 19:31:55 +00:00
Julian Smart
b72812a640 Only write text colour if the colour is valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 14:16:07 +00:00
Robert Roebling
1d9fe50dc9 Patch to use high printer resolution instead of Cairo's 72dpi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 14:05:13 +00:00
Robert Roebling
4d5501cc75 minor corrections, made non-public API private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 13:17:55 +00:00
Robert Roebling
892434f06f prevent double deletion of cairo lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-07 07:40:38 +00:00
Robert Roebling
0187f0bcf4 wxDC::Clear() shouldn't do anything in printing DCs (I think)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 20:30:07 +00:00
Robert Roebling
cf509a9038 Removed run-time dependency on libpangocairo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:56:09 +00:00
Robert Roebling
fd220f13d4 Add Cairo to build, remove run-time dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:31:51 +00:00
Robert Roebling
d494613ac1 Make use of wxCairoLibrary from within wxGtkPrint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 17:24:59 +00:00
David Elliott
780220b099 Make a slider control created with a particular size/position adjust itself to the only size that works and adjust the positioning accordingly.
Implement the wxSL_AUTOTICKS style.
Patch from Mark Oxenham.  Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 16:41:31 +00:00
Robert Roebling
50fae378f2 Add wxCairoLibrary (not yet built)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 14:04:47 +00:00
Robert Roebling
420db5a599 Move the wxDL_ macros to wxDynLibrary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:37:32 +00:00
Václav Slavík
c5288c5cfe fixed wxString::FromAscii signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:31:08 +00:00
Robert Roebling
c2331d9b50 Explain various printing backends in GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:28:37 +00:00
Robert Roebling
92fdffb272 Mention wxUSE_GTKPRINT define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 13:26:31 +00:00
Chris Elliott
89e704cf63 add missing timer.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-06 09:19:38 +00:00
Vadim Zeitlin
c8aa3d8017 fixed off by 1 bug in converting premultiplied DIB pixel values to non-premultiplied image ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 22:58:27 +00:00
Robin Dunn
4f696af8d6 Pass length including the null-terminator to cWC2MB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 22:53:29 +00:00
Robert Roebling
fa034c4511 Add support for GTK print, modified from patch 1782055
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 21:34:08 +00:00
Robert Roebling
9dac27ad48 Add force link for GtkPrint modeule (still commented out)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 19:49:41 +00:00
Robert Roebling
1ff62f51ba Make wxGnomePrintModule public so that wxGtkPrintModule knows about it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 19:26:46 +00:00
Robert Roebling
bd8a7646cf Add GtkPrint detection code and configure switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 18:55:18 +00:00
Robert Roebling
ead90b5f73 upport wxFileDataObject change for UTF8 handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 18:53:59 +00:00
Chris Elliott
88a37bc3d9 add missing ds? files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-05 08:41:30 +00:00
Julian Smart
79f955ec15 Corrected default background and text colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 18:54:59 +00:00
Julian Smart
03cd212405 Fixed URL saving/loading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 14:21:29 +00:00
Julian Smart
4b5ac600de Always set the background colour for XP, for consistent toolbar backgrounds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:47:05 +00:00
Julian Smart
23a081d436 Corrected a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:23:42 +00:00
Robert Roebling
e0429715e2 correct scrolling of various GTK+ widgets such as GtkFrame (wxStaticBox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 13:16:48 +00:00
Julian Smart
79176c652a Apply the background fix only if the toolbar has controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 06:59:50 +00:00
Robin Dunn
70550b222c a few more header files need to be installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 02:54:46 +00:00
Paul Cornett
1dd7badd1f use client size to avoid gdk_window_get_frame_extents, which returns the full width of the screen for wxTaskBarIconArea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-04 02:29:03 +00:00