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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Václav Slavík
614f971389
fixed badly named wxHtmlTag::GetParam() argument: with_quotes, not with_commas
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 13:48:37 +00:00
Robert Roebling
097119648b
Added const and virtual in various places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:55:36 +00:00
Robert Roebling
74fe973bba
Added wxDataViewModel::GetChildren() (removed GetSibling() and GetFirstChild())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:44:59 +00:00
Robert Roebling
b04fcede8f
Added wxDataViewCtrl::AppendIconTextColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-31 09:14:49 +00:00
Vadim Zeitlin
fe1b98f5d5
fix resize() when it's used for truncating a string in UTF-8 build; added test for this bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 18:13:29 +00:00
Vadim Zeitlin
01a9232b5e
use fallback encoding in wxConvAuto when input is not in UTF-8
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:54:28 +00:00
Robert Roebling
c17b2e3151
Patch from Hartwig for wxMac implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 13:09:20 +00:00
Robert Roebling
24c4a50f43
Patch from Bo, implements mouse hover, default sort
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:29:59 +00:00
Robert Roebling
c9c13e7043
add wxDataViewIconTextRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:48:12 +00:00
Robert Roebling
8935265382
add wxDataViewIconText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 11:12:12 +00:00
Julian Smart
aad7e71c66
Compile fix for old W32API headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 19:25:59 +00:00
Václav Slavík
0e89a51a25
added some clarifying comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 15:08:07 +00:00
Robert Roebling
57f2a65292
Applied patch from Bo, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:32:43 +00:00
Robert Roebling
afebb87be1
Patch from Bo for recent API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 14:48:29 +00:00
Robert Roebling
91a6c65558
Move column organizing code to ports, away from common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:05:16 +00:00
Václav Slavík
b1a3a96499
fixed wxHTML parsing to run in O(n) even in UTF8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 10:04:11 +00:00
Robert Roebling
f71d3ba46c
added Collapse() and Expand()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 21:05:51 +00:00
Robert Roebling
e0000f9494
add editing_started and _done events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 19:44:04 +00:00
Robert Roebling
1b27b2bd2b
Set/GetExpanderColumn() should use wxDataViewColumn, not unsigned int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:28:56 +00:00
Robert Roebling
07c51ff1fa
Hartwig's patch for OS X implementation of wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-25 13:15:16 +00:00
Robert Roebling
a87b466df3
Correct signature of HitTest()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 20:00:32 +00:00
Robert Roebling
fbda518cb7
Minor API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:21:52 +00:00
Václav Slavík
f9bf06acda
VC6 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-23 12:40:32 +00:00
Vadim Zeitlin
a220ccb313
added ISO-2022-JP encoding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-22 21:46:01 +00:00