Commit Graph

41171 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
a07bf2d003 fix translation of wx priority values to the standard Unix ones in SetPriority()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:52:38 +00:00
Vadim Zeitlin
85866f52b3 fix WX_GL_STEREO attribute handling: value for it was missing in the attribute list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 22:35:43 +00:00
Vadim Zeitlin
51c42fc50a don't use GetThemeMetric(HP_HEADERITEM, TMT_HEIGHT) as it doesn't seem to work; implement GetHeaderButtonHeight() in wxRendererMSW instead of doing it in wxRendererXP using HDM_LAYOUT; added test for this renderer method to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 21:50:28 +00:00
Paul Cornett
7d8e5b8f04 call SetLegacyWMProperties last, it calls gtk_widget_realize, which will lead to assertion failures if initialization has not been done yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 20:45:21 +00:00
Paul Cornett
37fde1063b fix IsProtocolSupported in unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 20:17:34 +00:00
David Elliott
118042914f Try the DefaultProperties key if the buildSettings key doesn't work when reading the SDKSettings.plist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 18:10:20 +00:00
Robert Roebling
b055d99116 Update to recent eggtrayicon version. Should be converted to GTK+ 2.10 code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 08:20:19 +00:00
Robin Dunn
4c784823a6 include private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:13:49 +00:00
Robin Dunn
af312d2179 more exports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:12:09 +00:00
Robin Dunn
a3fd36e7c3 wrap the code in #if wxUSE_DATAVIEWCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:07:29 +00:00
Robin Dunn
c21ee7925b Update wxStack class macro for the new wxVector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:05:50 +00:00
Robin Dunn
09da4ae594 export wxGetNativeFontEncoding and wxTestFontEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:03:14 +00:00
Robin Dunn
4309ed1748 fix events and eventTypes for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-03 03:02:25 +00:00
Julian Smart
a8e893433a Standard SDK fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-02 20:26:43 +00:00
Robert Roebling
c899416db0 Patch from Bo for new API, various fixes, live update for column header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-01 18:57:03 +00:00