Commit Graph

41218 Commits

Author SHA1 Message Date
Robert Roebling
8ab030012d little change for Mac build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:41:36 +00:00
Robert Roebling
5cdcb78775 Third update patch for GTK+ print (correcting my device origin search-and-replace mistake)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:28:57 +00:00
Robert Roebling
4d1d071dae Second update patch for GTK+ print (DrawBitmap fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:26:20 +00:00
Robert Roebling
da249bc359 First update patch for GTK+ print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:23:39 +00:00
Paul Cornett
05787cec0d remove unused configure tests and macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 06:24:14 +00:00
Paul Cornett
73a790d8d5 epoll typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 05:42:42 +00:00
Paul Cornett
290cd3016c get more accurate TLW sizing by using a window decorations cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 04:36:06 +00:00
Paul Cornett
7742ea6a6f warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 17:39:46 +00:00
Paul Cornett
a9047d859d add wxUSE_TASKBARICON wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 16:48:41 +00:00
Vadim Zeitlin
765bdb4a1b check that the conversion really succeeds even when wxMBConv_win32::WC2MB() is called with NULL buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 00:39:21 +00:00
Vadim Zeitlin
e040a4ff2c fix assert for bitmaps buttons created without bitmap initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-12 00:21:48 +00:00
Václav Slavík
479647105b Fixed wxAtomicInc/Dec() to not use asm/atomic.h header on Linux - it's kernel internal, not available for userspace in newer kernel versions and broken for userspace on some platforms. Use GCC's builtins instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:27:15 +00:00
Václav Slavík
eb2d0d232c use wxVector<T> instead of wxList in wxXmlResource code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:26:39 +00:00
Václav Slavík
bc1d617aac fix to make 'wxAtomicInt i = 0;' work with generic implementation and gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:15:16 +00:00
Václav Slavík
1f25eb3aa9 compilation fix after wxCmdLineEntryDesc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:13:05 +00:00
Václav Slavík
630dad8cc1 added a test for wxAtomicDec return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:12:39 +00:00
Vadim Zeitlin
1c06345ab6 mention that NULL/"" changes also affect struct fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 22:04:26 +00:00
Václav Slavík
eb096b8eeb compilation fixes for generic implementation of wxAtomicInt32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 21:52:02 +00:00
Robert Roebling
a931295073 Rewrote scaling for GTK+ print
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 21:35:45 +00:00
Robert Roebling
6950be0111 Compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 16:41:16 +00:00
Vadim Zeitlin
bd5c396871 map wxFONTENCODING_ISO2022_JP to the correct Windows code page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 15:29:19 +00:00
Vadim Zeitlin
5681ec3dfd fix a warning about casting literal string constants to non-const char *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:22:43 +00:00
Robert Roebling
32f34982cd corrected some of 200 compile errors introduced by the latest global search and replace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:16:22 +00:00
Robert Roebling
02255e07d7 Rewrote scaling code for GNOME print backend. The inverted Y axis is now handled internally. Resulotion is not set to 600 dpi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 14:00:44 +00:00
Vadim Zeitlin
e1ef6b5da5 chop off the unwanted \r from GetLineText() return value for richedit 2.0 controls (patch 1780110)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 11:16:04 +00:00
Vadim Zeitlin
075946015d Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 10:51:12 +00:00
Vadim Zeitlin
ced3df7730 wxDL_XXX macros and dynamic loading cleanup:
1. Clearly document the wxDL_XXX macros; including their implicit usage
   of m_ok member variable
2. Made sure they're used in the same way in all places they are used
   (sometimes they were passed an object, sometimes a pointer, breaking
   compilation: see patch 1791288)
3. Don't allocate wxDynamicLibrary objects on heap unnecessarily (which
   removes the need to delete -- or leak, as it was -- them afterwards)
4. Some naming convention fixes



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-10 10:49:55 +00:00
Vadim Zeitlin
d2175f3ecc added wxApp::Set/GetAppDisplayName() (patch 1780414)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 23:27:23 +00:00
Vadim Zeitlin
9cf3d21870 added wxApp::Set/GetAppDisplayName() (patch 1780414)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 23:26:18 +00:00
Vadim Zeitlin
5595181f48 add wxSYS_DCLICK_TIME system metric constant; use it for the generic list control rename timer interval (patch 1782472)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:57:12 +00:00
Vadim Zeitlin
5bc3ef05b8 cache the result of wxGetOsVersion() (heavily modified patch 1783198)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:40:14 +00:00
Vadim Zeitlin
1d9473d33b don't change locale in XRC GetFloat() method, change the strings to use the current locale decimal point separator instead (patch 1783849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 22:24:43 +00:00
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