Paul Cornett
48200154f4
replace m_insertCallback with a virtual function, contrary to the old comments a virtual works just fine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 15:46:48 +00:00
Robert Roebling
2038034368
Fix #9917 : File save dialog does not honor file extension on GTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:57:03 +00:00
Vadim Zeitlin
b053bf9ef4
don't use new string caching code without compiler TLS support (temporary fix to compilation problems)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 21:50:10 +00:00
Vadim Zeitlin
af912213b3
compilation fix for non-UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:39:23 +00:00
Vadim Zeitlin
68482dc584
add cache for last used position and string length to UTF-8 wxString, dramatically improving performance of the code using indices to iterate over strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:19:11 +00:00
Vadim Zeitlin
eaf6da0746
use std::sort() instead of qsort() to implement wxArrayString::Sort(), this makes it thread-safe without any extra hacks and also makes the code simpler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 19:40:20 +00:00
Paul Cornett
0d0b57acec
get system colors directly from GTK styles, eliminating need for cached wxColor objects
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 17:10:36 +00:00
Stefan Csomor
0b134cd00d
fixing #9910
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 08:18:30 +00:00
Vadim Zeitlin
f3d7473941
add a scoped_ptr-like wxGtkObject class which calls g_object_unref() automatically and use it in some GC-related code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 01:06:58 +00:00
Vadim Zeitlin
98d8a7ece5
honour user scale and source offset in wxDC::Blit() ( #2605 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 00:52:13 +00:00
Paul Cornett
d2cb636a1f
put wxIconArray back in header, it's used by wxFSVolume
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:34:22 +00:00
Paul Cornett
9ff9d30c0a
Hold a reference on m_widget for the life of the associated wxWindow object.
...
This allows removing some ugly hacks, and leaking of GtkWidgets by wxNotebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:19:23 +00:00
Václav Slavík
22188d7396
pch-less compilation fix for r55285
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:29:38 +00:00
Václav Slavík
6bd4f2812d
fixed writing to wxUniCharRef after its 'parent' iterator was destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:02:38 +00:00
Paul Cornett
24af522c43
move wxIconArray declaration out of header, remove unneccessary copy ctor and assignment operator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:34 +00:00
Vadim Zeitlin
410201d988
added UnsetToolTip() which is also provided (as empty function) in wxUSE_TOOLTIPS==0 case unlike SetToolTip(NULL)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:19:04 +00:00
Vadim Zeitlin
1a7cfc94a3
compilation fixes for wxUSE_CONSOLE_EVENTLOOP==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 19:23:26 +00:00
Vadim Zeitlin
cbb003b105
sometimes unused parameter warnings are really worth paying attention to
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:36:00 +00:00
Benjamin Williams
1154f91b6a
added wxAuiToolBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:28:07 +00:00
Vadim Zeitlin
917fe2f242
fix a couple of spelling errors
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 22:27:03 +00:00
Julian Smart
44bcee116e
Cleanup of previous fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 11:32:23 +00:00
Robert Roebling
de2fcf0332
#9854 (AddPendingEvent - protect during wxEvtHandler destruction)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 09:18:30 +00:00
Vadim Zeitlin
fe9fb970bb
compilation fix for wxUniv/GTK ( closes #9849 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 22:12:43 +00:00
Julian Smart
afb0d55c83
Fixed default margin sizes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 16:08:32 +00:00
Václav Slavík
fda71b397a
re-fix MinGW DLL compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-20 21:35:55 +00:00
Paul Cornett
a99bcb5e5e
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 16:28:21 +00:00
Vadim Zeitlin
aa74cc2120
don't use WXDLLIMPEXP_BASE_DATA() around member data, this results in an error in MSVC DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 19:52:00 +00:00
Vadim Zeitlin
bfafa6288f
don't terminate the event loop in EndModal() if it was already terminated because of an exception thrown inside it ( #9838 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:51:53 +00:00
Vadim Zeitlin
2753fd96ff
add comparison operators for UUID class ( #9871 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Vadim Zeitlin
d026fee446
compilation fix for wxUniv/MSW after r54937 ( #9866 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 23:01:28 +00:00
Václav Slavík
03af437f75
made wxCharTypeBuffer<T>::release() const again, for compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 15:10:57 +00:00
Václav Slavík
7113846bc8
DLLs linking fix wxCharTypeBuffer<T>::NullData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:41:10 +00:00
Václav Slavík
e00d33048d
pch-less compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:40:48 +00:00
Václav Slavík
95691abd43
radically simplified declarations of wxUString-specific char buffers: there are no compatibility concerns, so they can simply be typedefs for wxCharTypeBuffer<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:28:20 +00:00
Václav Slavík
5c1de526d2
added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 19:37:51 +00:00
Vadim Zeitlin
dd79ca2fd8
undid changes accidentally committed as part of r55019
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 19:00:19 +00:00
Vadim Zeitlin
64a044d5a6
added wxTLS_TYPE() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
375a5d3a93
add DECLARE_NO_COPY_TEMPLATE_CLASS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:37:56 +00:00
Václav Slavík
14440cc658
small wxArtProvider API improvements: added HasNativeProvider() and renamed confusingly-named Insert() to PushBack()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 11:46:59 +00:00
Paul Cornett
f1d5aa4eca
fix sizing of extra control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:10 +00:00
Paul Cornett
a1cb0b110e
use "new" GtkToolbar API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 16:26:16 +00:00
Vadim Zeitlin
16882c9e37
correct use of WXDLLIMPEXP_BASE for wxChar16 wxStrlen() overloads ( #9827 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:13:03 +00:00
Vadim Zeitlin
6d9b671692
mark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:55:44 +00:00
Vadim Zeitlin
c77049a04b
general docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays; refactor wxDocManager::CreateDocument() and allow using wxDOC_SILENT with wxDOC_NEW; cleanup wxFileHistory code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 00:37:00 +00:00
Vadim Zeitlin
a470957ada
fix fatal bug in wxVector copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 23:58:24 +00:00
Benjamin Williams
45ca0e7750
fix mouse capture lost assert when dialog shown in tab change event handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 13:58:08 +00:00
Vadim Zeitlin
4af4dec65f
compilation fix for PCH-less build; also moved some functions out of line
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 12:24:25 +00:00
Vadim Zeitlin
9016f3ad73
add support for multiline labels in wxToggleButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:47:01 +00:00
Vadim Zeitlin
118a41d993
added wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_FORCE is specified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:56:05 +00:00
Vadim Zeitlin
604fba2d34
made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared ( #9685 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:49:01 +00:00
Vadim Zeitlin
1c2b921a1c
don't use our custom WM_PAINT handler with composited window as this results in an endless repaint loop ( #9666 ); also don't even define HandlePaint() under CE as it's never used there
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:34:37 +00:00
Vadim Zeitlin
d66d050088
add wxGet/Set/HasWindowExStyle() helpers and use them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:30:05 +00:00
Vadim Zeitlin
e8759560f8
add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication ( #9642 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:51:22 +00:00
Vadim Zeitlin
9d1c7e8474
add wxImage::SetType() and use it in animation decoders ( #9639 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 20:13:41 +00:00
Vadim Zeitlin
05d31b3aca
fix keyboard navigation in radio boxes containing hidden or disabled items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 19:45:23 +00:00
Vadim Zeitlin
8758875e0b
added enabled and hidden attributes to radio box items in XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
707d9f4047
VC6 compilation warning fix for non-defined template class copy ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 13:10:33 +00:00
Stefan Csomor
da712b51d4
guarding preproc variable against undefined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 04:47:39 +00:00
Vadim Zeitlin
328fafa1db
capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:47:22 +00:00
Vadim Zeitlin
0c7db140c5
add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
Vadim Zeitlin
6b1eedc1bb
add more stock items ( #9799 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:38:02 +00:00
Vadim Zeitlin
4c7b2d367e
build fix for wxGTK/Univ build ( #9706 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:53:05 +00:00
Vadim Zeitlin
3e97a90518
use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls ( #9667 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:46:46 +00:00
Robert Roebling
676a568708
Forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 12:05:46 +00:00
Robert Roebling
6090d53c8a
Compilation for wchar mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 07:16:49 +00:00
Stefan Csomor
420b39aa4b
moving common implementation for osx closer to unix, by using threadspsx.cpp and unix/dir.cpp, getting rid of morefile(x) and moving colour.cpp to core
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 06:40:16 +00:00
Robert Roebling
a029059f92
include <string>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 12:35:46 +00:00
Stefan Csomor
497209d3b7
turning on core timer implementation for carbon as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:27:09 +00:00
Stefan Csomor
265e0ecf30
wxColour is implemented using CoreGraphics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:23:14 +00:00
Stefan Csomor
17d6520757
wxColour is implemented using CoreGraphics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:22:23 +00:00
Stefan Csomor
e0dd666144
wxColour is implemented using CoreGraphics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 10:21:17 +00:00
Stefan Csomor
97c5b168b3
correcting header path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:59:04 +00:00
Stefan Csomor
94424c1914
pen and brush are platform neutral on osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:57:05 +00:00
Stefan Csomor
3d0b488be0
pen and brush are platform neutral on osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:56:44 +00:00
Stefan Csomor
c3052fa0fb
brush and pen are implementation neutral on osx
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 09:52:01 +00:00
Stefan Csomor
220d37c864
better guarding when no printing architecture exists (patch from Joel Low)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-31 05:57:56 +00:00
Vadim Zeitlin
87c7fc6733
add operator[] to our wxStringImpl (blind fix for wxMac buildbot build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 22:11:06 +00:00
Vadim Zeitlin
a74deb8818
use different strings for wchar_t and UTF-8-based Unicode builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:32:11 +00:00
Stefan Csomor
fa61b1df36
OSX reshuffling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:04:03 +00:00
Stefan Csomor
462a08f103
OSX reshuffling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:02:41 +00:00
Stefan Csomor
d423301cd3
OSX reshuffling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:02:21 +00:00
Stefan Csomor
b46f221ff3
OSX reshuffling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:01:58 +00:00
Stefan Csomor
fe1a36a70c
OSX reshuffling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 15:00:41 +00:00
Stefan Csomor
1aec1f8b5e
getting rid of warnings for unused params
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-30 04:57:23 +00:00
Václav Slavík
5431a79f1e
optimize wxFormatStringArgumentFinder<T> for strings and make it work correctly for wxCharBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 23:10:04 +00:00
Vadim Zeitlin
ecdc118383
add PostSizeEvent() and use it in wxMSW status bar code ( #9795 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 23:07:24 +00:00
Stefan Csomor
09f0f2cf08
console builds need another header from xcode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 21:12:49 +00:00
Stefan Csomor
94d0d21a15
avoiding warning because of missing define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 21:03:18 +00:00
Stefan Csomor
bcb07ff03e
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:35:29 +00:00
Stefan Csomor
41e5097c52
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:30:58 +00:00
Stefan Csomor
5ea93bd360
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:30:22 +00:00
Stefan Csomor
4849f027a4
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:28:21 +00:00
Stefan Csomor
f1bb54f84e
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:27:54 +00:00
Stefan Csomor
eefe52da50
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:26:45 +00:00
Stefan Csomor
b3d4ea6104
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:24:35 +00:00
Stefan Csomor
6a3ea4ead8
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:23:22 +00:00
Stefan Csomor
ac9e3f1f1c
osx regrouping
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 20:22:57 +00:00
Vadim Zeitlin
0dba08dd39
move SendSizeEvent() down to wxWindow from wxFrame; added SendSizeEventToParent() helper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 12:32:47 +00:00
Robert Roebling
9a6d14383a
Added 32-bit (UCS-4) wxUString class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-29 11:01:16 +00:00
Paul Cornett
a85085c933
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-24 02:15:55 +00:00
Vadim Zeitlin
5b464d6bbd
define wxHAS_RAW_BITMAP for wxDFB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-24 00:47:13 +00:00
Vadim Zeitlin
4800a07000
forbid modifying wxImage by assigning to wxImagePixelData::Iterator::Data(), this doesn't work correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-23 23:26:28 +00:00
Vadim Zeitlin
35d5da677d
get rid of base arrays in wxUSE_STL build, we don't need them there and deriving wxFooPtr from wxBaseArrayPtrVoid makes it iterators return void pointers instead of those of the correct type; added test case to check for this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-22 01:01:56 +00:00
Vadim Zeitlin
98ecad0621
avoid unnecessary conversions in wxTextDataObject code in UTF-8 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 15:53:21 +00:00
Vadim Zeitlin
96e93f5b83
added FromUTF8Unchecked() for ANSI build too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 02:26:11 +00:00
Vadim Zeitlin
96b2cbe8b3
use (new) safer GetTraitsIfExists() in wxMutexGuiEnter/Leave() to avoid crashing on exit of wxGTK1 applications putting anything on clipboard (and maybe other cases)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-21 01:35:00 +00:00
Vadim Zeitlin
ee437b7e1d
blind attempt to fix wxBitmap in wxMGL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 22:36:51 +00:00
Vadim Zeitlin
2adc95dea3
really fix compilation for PCH-less builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-20 12:57:47 +00:00
Vadim Zeitlin
2186321ff5
big wxURI cleanup; it now handles Unicode characters correctly ( #3874 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 23:14:51 +00:00
Vadim Zeitlin
ece97e2882
remove the just added assertEquals(time_t, long) overload, it results in infinite recursion and crash if time_t is the same type as long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 20:07:36 +00:00
Vadim Zeitlin
cc209a518f
check that string passed to FromUTF8() is valid even in release build, this is safer; add a separate FromUTF8Unchecked() which can be used for maximal efficiency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 19:59:59 +00:00
Vadim Zeitlin
a08a37d0d6
no changes, just added some explanatory comments for wxCSConv members
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-19 01:37:43 +00:00
Vadim Zeitlin
3d9b0b5393
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:33:19 +00:00
Vadim Zeitlin
1de532f57e
get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:07:23 +00:00
Vadim Zeitlin
56c74796a6
clean up wxBitmapButton::Create(); override MSWGetStyle() ( #4804 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 01:08:52 +00:00
Vadim Zeitlin
a4761b4c08
implement flag for Unix-like behaviour in wxCmdLineParser::ConverStringToArgs()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 00:49:25 +00:00
Vadim Zeitlin
f6a0208756
fix the output length returned from cWC2MB/MB2WC() to be consistent with From/ToWChar(); fix off by NUL-length bug in wxMBConv implementation of From/ToWChar() in terms of legacy WC2MB/MB2WC() (which are still used in wxMBConv_wxwin) that this uncovered; added a simple test for the bugs the old code resulted in which could be easily seen with wxConvISO8859_1 (see #9739 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 23:57:25 +00:00
Vadim Zeitlin
05392dc8c6
remove wxCSConv::MB2WC/WC2MB, implement Latin-1 fallback conversion in To/FromWChar() themselves; this is more efficient and removing the old code fixes off by 1 bugs in it (related to #9739 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 16:09:00 +00:00
Vadim Zeitlin
eaad096e79
relay out the control after deleting any page, not just the last one ( #9684 ); also extract the size event sending code in a separate function to be able to replace it with something better easier later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 02:04:28 +00:00
Vadim Zeitlin
d7ad5a0289
define {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compatibility with std::pair, we can avoid #ifdefs in the code using the hash then ( #9725 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:20:06 +00:00
Vadim Zeitlin
67ef83eb03
added wxFlexGridSizer::Add{Row,Col}Growable() ( #2603 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:06:50 +00:00
Vadim Zeitlin
293b15f78d
added wxVListBox::GetItemRect() ( #9711 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 17:28:31 +00:00
Vadim Zeitlin
c91574928d
add wxSocket::IsClosed(), use it to implement Eof() in wxSocketStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:28:12 +00:00
Vadim Zeitlin
dde65a6040
no changes, just removed the unnecessary inline keywords
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:12:58 +00:00
Vadim Zeitlin
98f80f2f76
remove unused private wxSocketBase::m_lastError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:01:55 +00:00
Vadim Zeitlin
f75e0c15ae
show busy cursor in wxLaunchDefaultBrowser and add a new flag to avoid it ( #9678 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:32:16 +00:00
Vadim Zeitlin
72ac4e888a
take const address objects in wxSocketClient::Connect() and wxSocketBase::SetLocal()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 02:21:39 +00:00
Vadim Zeitlin
02aa9504bc
remove code for drawing icon of minimized window manually, this was only useful under NT 3.51 and earlier among all Win32 systems and I don't think we support that any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 20:53:27 +00:00
Vadim Zeitlin
a6ac49b198
avoid duplicating wxWindow::HandleCommand() in wxFrame, only handle the commands for the frame menu bar elements there: this avoid generating duplicate events if a command event handler skips
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 20:51:16 +00:00
Václav Slavík
2587df2c82
reverted Robert's premature removal of deprecated 2.6 functions in r54490
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 19:06:06 +00:00
Paul Cornett
bbe28fbb83
mark long-deprecated methods as such, and don't use them in wx code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:01 +00:00
Stefan Neis
0d65494402
Experimental simplification of the code by using MWERKS version
...
for all compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:05:33 +00:00
Robert Roebling
961d941c0d
Remove 2_6 compatibility code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 10:58:38 +00:00
Robert Roebling
6ad68ad8c8
added wxString.t_str() and used it in filefn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 07:56:32 +00:00
Robert Roebling
937fc7dbea
Tried to make wxListBox::Update() work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 08:15:28 +00:00
Robert Roebling
05f616efaa
Add stub for parsing globs file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 09:28:08 +00:00
Robert Roebling
d39e2bbcf7
Remaining conversion to read-only XDG MIME types code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 08:31:50 +00:00
Vadim Zeitlin
e974c5d258
implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
a2fd8a45ec
VC6 compilation fix: using access declaration can only be used with immediate base class members with this compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 13:40:08 +00:00
Robert Roebling
29886d1bf8
Removed most of the pre-XDG MIME code from the Unix implementation, many speed-ups by simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 11:58:41 +00:00
Vadim Zeitlin
053ac76fa2
deprecate wxTE_AUTO_SCROLL as it's always on in the ports which support it anyhow ( #2176 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:18:54 +00:00
Robert Roebling
1dea1566c8
Added mostly empty wxLaunchDefaultApplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 14:14:13 +00:00
Robert Roebling
1dff2537d3
Ticket #9641 : wxBitmapComboBox_SetFont.patch, making it public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 13:47:45 +00:00
Robert Roebling
1473d17fe9
Fix warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 13:45:51 +00:00
Vadim Zeitlin
831b64f32f
fix the wrong #ifdef WXWIN_COMPATIBILITY_2_8 checks, #if should be used ( #9644 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 11:16:40 +00:00
Vadim Zeitlin
0ddec397f6
more wxBitmapType-related backward compatibility fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 01:02:04 +00:00
Vadim Zeitlin
9e0560c1bc
provide deprectaed LoadFile() and FindHandler() overloads taking long, otherwise the existing code using long instead of wxBitmapType doesn't compile because of the ambiguity between long->wxBitmapType and long->wxString conversions (as these methods are also overloaded to take wxString)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 23:43:59 +00:00
Vadim Zeitlin
edc5134402
initialize wx{Client,Paint,Window}DC with fonts/colours of its window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:17:00 +00:00
Vadim Zeitlin
9928536b3a
remove Create{Window,Client,Paint}DC() methods without window parameter -- they don't make sense as these DCs must always be associated with a window and are unusable if created without it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:05:45 +00:00
Vadim Zeitlin
d317fdebc3
add wxShowEvent::IsShown() and wxIconizeEvent::IsIconized() instead of (now deprecated) GetShow() and Iconized() respectively ( #978 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:17:13 +00:00
Vadim Zeitlin
1a9a6eed36
disable report view mode under Mac as it hangs the native wxListCtrl implementation (continuation of #9484 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:10:52 +00:00
Vadim Zeitlin
a30e702974
added wxGenericStaticBitmap ( #9608 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Robert Roebling
223255fd44
Add missing SWAP macros for 64-bit signed int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:22:45 +00:00
Robert Roebling
177e38e645
Don't let MSW's wxSpinCtrl emit spin up and down events as in the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:17:33 +00:00
Vadim Zeitlin
bc735a68b1
declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:28:26 +00:00
Robert Roebling
03966fcb3f
#9591 : Item state (icons) for wxTreeCtrl on any platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 17:50:40 +00:00
Robert Roebling
3f16e52c13
Ticket #9592 : gtk-choice-setcolumns.2.diff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 13:32:43 +00:00
Václav Slavík
25a3fca2e5
Implemented high-quality preview for wxMSW (this approach doesn't work
...
on other platforms). The preview is now accurate representation of printed
page and wxHtmlEasyPrinting preview shows identical layout to what will
be printed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:41:51 +00:00
Václav Slavík
88b987876d
fixed printing preview to not report errors in infinite loop (bug introduced by r54133)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 07:43:59 +00:00
Vadim Zeitlin
fafb2b0531
overload Write() for char and unsigned char too, otherwise code writing them fails due to lack of exact match and absence of overloaded wxToString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 23:38:11 +00:00
Vadim Zeitlin
02e22828eb
added a unit test for input/output file streams and fixed the problem it exposed ( #3335 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:34:50 +00:00
Vadim Zeitlin
fafd43c578
another 64 bit fix: make SendMsg() return wxIntPtr instead of long too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:17:35 +00:00
Vadim Zeitlin
47bec43d70
correct wxIntPtr definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:16:59 +00:00
Vadim Zeitlin
b796ba3931
fixed STC under Win64: as wxStyledTextCtrl::SendMsg() used (32 bit) long arguments, passing (64 bit) pointers to it almost certainly didn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:56:59 +00:00
Vadim Zeitlin
609577038a
ignore mouse wheel events which are coming too fast to be processed ( #9057 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:31:31 +00:00
Vadim Zeitlin
9357892714
derive wxSTC from wxTextEntryBase to provide even more wxTextCtrl-like methods (see #9114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 01:16:52 +00:00
Vadim Zeitlin
2bfca191bf
derive wxSTC from wxTextAreaBase to provide wxTextCtrl-like methods (see #9114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 00:59:38 +00:00
Vadim Zeitlin
a5c2ccf2e7
state clearly that the entire contents of generated files is generated; put special {{{ and }}} markers around the generated sections (these are special and extra-convenient for ViM but can probably be used to at least go to the end/beginning/other extremeity of the generated block from any other decent editor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:33:03 +00:00
Vadim Zeitlin
06b2f04bb7
remove extra ')' in EVT_STC_CALLTIP_CLICK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:09:51 +00:00
Vadim Zeitlin
8e0945dae5
translate Scintilla getters to const methods of wxStyledTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 15:59:07 +00:00
Vadim Zeitlin
82bf63a08c
recreate the window if FSAA is requested (changeset_r54022_Fix.patch from #9145 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 01:44:13 +00:00
Vadim Zeitlin
f6a46bb028
exclude pieces of wx hash map implementation which were wrongly included when std::unordered_map was used in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 23:28:25 +00:00
Vadim Zeitlin
f380544a4c
use std[::tr1]::unordered_map if available in wxUSE_STL build ( #9532 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:43:41 +00:00
Vadim Zeitlin
0042c76f29
fix some wrong declarations which upset mingw32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:12:55 +00:00
Robert Roebling
c2193ac911
#4479 : wx.ComboBox needs a SetFont method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 12:16:42 +00:00
Václav Slavík
b88bf07395
render pages in print preview at idle time, not from OnPaint, to make the UI appear more responsive when preview takes long time to create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 20:56:41 +00:00
Stefan Csomor
ef0e92205a
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:17:41 +00:00
Paul Cornett
e2147e6d3c
simplify menu item callbacks by passing in wxMenuItem instead of wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 17:07:07 +00:00
Stefan Csomor
29ed833473
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:44:18 +00:00
Stefan Csomor
5c6eb3a84b
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:30:48 +00:00
Stefan Csomor
63b5e786d4
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:09:45 +00:00
Stefan Csomor
72bad861e6
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:09:14 +00:00
Stefan Csomor
514fddd591
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:08:31 +00:00
Stefan Csomor
31f9fc24d6
committing changes before renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:06:28 +00:00
Stefan Csomor
f4dda581a4
common private decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:05:58 +00:00
Stefan Csomor
16bf319040
common private decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:05:46 +00:00
Stefan Csomor
ea27623912
removing double includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 15:54:15 +00:00
Stefan Csomor
712d087f0c
switching to OSX naming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 15:53:10 +00:00
Vadim Zeitlin
d1a64f69cb
use more general pointer-to-member representation for wxEvtHandler methods to make it possible to use as event handlers methods of classes multiply inheriting from it and some other class ( #9556 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 14:22:21 +00:00
Vadim Zeitlin
c245a01202
use native calendar control in wxDatePickerCtrl if available ( #9548 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 11:45:57 +00:00
Stefan Csomor
fc32630a5e
removing outdated files for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 06:56:47 +00:00
Vadim Zeitlin
591d3fa210
remember the last type used for loading or saving the image and return it from GetType() ( #9551 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 00:28:23 +00:00
Stefan Csomor
f28da83a6f
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:56:13 +00:00
Stefan Csomor
2c5fd1aed9
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:54:46 +00:00
Stefan Csomor
6c960f2e81
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:47:38 +00:00
Stefan Csomor
5bd471fc07
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:47:20 +00:00
Paul Cornett
1deef99727
wxMenuItem code cleanup, removing duplicate and unneccessary code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 03:54:43 +00:00
Vadim Zeitlin
425eee4164
correct some compatibility problems with the existing Unicode-mode code ( #9513 ), more remains to be done ( #9560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 22:50:55 +00:00
Stefan Csomor
78b8320770
RGBColor on QD only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:51:48 +00:00
Stefan Csomor
469c3bcb71
setup font defines for iphone correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:50:56 +00:00
Vadim Zeitlin
fdaad94e75
deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 01:45:56 +00:00
Vadim Zeitlin
c39d2e0a38
added multisampling (anti-aliasing) support to wxGLCanvas ( #9145 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 00:12:12 +00:00
Vadim Zeitlin
39329d2edd
use memcpy() instead of wxTmemcpy() as the latter is defined in wx/wxcrt.h which includes wx/string.h and hence can't be used from here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:12:23 +00:00
Vadim Zeitlin
05b4b8ee88
more compilation fixes for VC6 ( #9492 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:06:32 +00:00
Stefan Neis
faba238f8e
Compilation fix for GTK1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 14:26:49 +00:00
Vadim Zeitlin
eddc468e25
ensure that dialog gripper is always positioned below the other children, even if they're created after it ( #9519 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:04:16 +00:00
Vadim Zeitlin
533171c287
support multiline labels in wxCheckBox ( #9495 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:54:44 +00:00
Vadim Zeitlin
30a56ea8cb
call wxSizerFlags::Top/Bottom() or Left/Right() shouldn't change horizontal or vertical alignment ( #9534 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:22:34 +00:00
Vadim Zeitlin
204fd7058e
change another long type to wxBitmapType
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:53:10 +00:00
Vadim Zeitlin
e98e625cbb
change longs used for bitmap types to wxBitmapType ( #9126 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:33:58 +00:00
Vadim Zeitlin
062dc5fc22
initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845 ); add wxString::tchar_buf() to help with the implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:19:23 +00:00
Vadim Zeitlin
1bc8210593
compilation fix for VC6 (and maybe not only): enums defined in containing class are not accessible from the nested classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:06:16 +00:00
Vadim Zeitlin
f7541d4807
corrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 23:51:04 +00:00
Vadim Zeitlin
7f5b84c22f
compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 13:47:32 +00:00
Václav Slavík
37146d3352
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 09:38:37 +00:00
Václav Slavík
84e455807e
wxDFB: implemented Raise() and Lower() for TLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 21:50:06 +00:00
Robert Roebling
92159e3d76
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 21:46:29 +00:00
Vadim Zeitlin
42124e683d
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:42:23 +00:00
Robin Dunn
f60ca3e24c
Add a SetDoubleBuffered method for wxMSW (XP+)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:30:13 +00:00
Robert Roebling
ae8eee38f4
Disable disabling wxWeakRef<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:07:06 +00:00
Vadim Zeitlin
23f3f8c2ac
correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:17:04 +00:00
Vadim Zeitlin
24671bc900
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:42:33 +00:00
Vadim Zeitlin
77fa3d8243
add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:01:59 +00:00
Vadim Zeitlin
ca8cf4fffb
added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:09:25 +00:00
Vadim Zeitlin
9d653e810c
rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:08:45 +00:00
Stefan Neis
3656eefc89
Compilation fixes for mingw-w64.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 12:44:40 +00:00
Vadim Zeitlin
2bdba43f02
at least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap> (thanks buildbot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 20:04:09 +00:00
Vadim Zeitlin
3e50a139b4
fixed wxImagePixelData compilation (ticket #3003 ); added a unit test for it (to be extended to cover more wxImage methods...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:30:23 +00:00
Vadim Zeitlin
8aa6162938
blind fix for Borland ANSI build: define wxStructStat specially for this compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 18:59:55 +00:00
Vadim Zeitlin
508b652335
ensure that GetEditControl() returns something even if label editing was started by the user and not the program ( closes #1325 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:26:07 +00:00
Vadim Zeitlin
5cd4cb75ee
no changes, just refactor the code to avoid having the same code for m_textCtrl destruction in 4 places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:03:03 +00:00
Robert Roebling
13d843f1c1
More work on getting wxLisBox events right
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:13:47 +00:00
Stefan Csomor
9f728f8dba
adding lowlevel hook to listbox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:11:45 +00:00
Vadim Zeitlin
fe267c2fad
take wxString in wxCrashReport::SetFileName() to allow passing either ASCII or wide strings as well as wxStrings to this method (closes 9505)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:28:05 +00:00
Paul Cornett
aac7dbf3aa
remove unused/unneeded menuitem cruft
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:41:37 +00:00
Paul Cornett
9a2183c900
remove obsolete file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:27:00 +00:00
Paul Cornett
efebabb7ff
mark long-deprecated ctor as such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:26:29 +00:00
Robin Dunn
fa34bc5331
Add wxWebKitNewWindowEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:33:46 +00:00
Vadim Zeitlin
65d990fb21
there is no std::wostream under Palm (part of ticket 4700)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:38:12 +00:00
Robert Roebling
e78c1d7855
Native wxBitmapComboBox patch for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 10:17:56 +00:00
Robert Roebling
7a04b64409
Clear columns on destruction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:52:26 +00:00
Robert Roebling
1afad0ac74
Reapply wxWeakRef patch again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:17:56 +00:00
Robert Roebling
3e040a2981
Use wxWindowRef to hold pointer to default button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 08:53:48 +00:00
Robert Roebling
1ddb283ad5
Defer SetHorizontalExtent to idle, also fixes (wxListBox::Delete ignores Freeze/Thaw and is verrrrry slow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 20:54:30 +00:00
Robert Roebling
ea6cbf486a
Dont send spin text update event from SetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 20:24:58 +00:00
Vadim Zeitlin
784ee7d511
improve wxMessageOutputBest console output under Windows (closes 9146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:13 +00:00
Robert Roebling
05d790f834
Move event generation code for multiple selection mode to common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:12:50 +00:00
Robert Roebling
794b89c956
Remove deprecated methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 09:48:53 +00:00
Stefan Neis
eccec0f887
Linker fix for non-PM builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:21:36 +00:00
Robert Roebling
1e6ffd6691
Remove m_blockEvents and use Disable/Enable instead, some more rearraging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 20:53:10 +00:00