Commit Graph

25881 Commits

Author SHA1 Message Date
Vadim Zeitlin
c76fb54570 move ClassRegInfo out from anonymous namespace to work around mingw32 4.3 bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 18:49:23 +00:00
Stefan Csomor
54f1106086 mouse and cursor additions for cocoa, see #10361
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 16:10:46 +00:00
Vadim Zeitlin
9b66a1d31a compilation fix for old SDKs (VC6...) which don't define HDM_SETBITMAPMARGIN/Header_SetBitmapMargin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 15:09:52 +00:00
Vadim Zeitlin
9485b24f43 reduce the margins around bitmaps to avoid truncating the label unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 14:23:19 +00:00
Julian Smart
ad60f9e7b6 Workaround for GTK+ sensitivity bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:34:23 +00:00
Jaakko Salli
9667d393a8 Fixed bug: splitter was not drawn for nested categories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 08:20:04 +00:00
Robert Roebling
80e8b5de77 Fix scrolled window bug when reducing the virtual size when being scrolled maximally down corrupted the display due to excess scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 21:42:17 +00:00
Stefan Csomor
94929e7b60 fixing screen coordinate transformation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 18:58:05 +00:00
Stefan Csomor
0dc8fac22b fixing include style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 18:57:20 +00:00
Jaakko Salli
31f0b4831e Fix wxEnumProperty unspecified value by taking it into account in GetIndex()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 17:50:57 +00:00
Stefan Csomor
6ae55c76d8 missing commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 17:32:53 +00:00
Stefan Csomor
ccd5d46c7b fixing dangling includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:38:04 +00:00
Jaakko Salli
7e32a85533 Fixed relaying of wxEVT_MOUSEWHEEL to popup control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:29:27 +00:00
Vadim Zeitlin
fa97ee2490 implement wxTreeCtrl::ItemHasChildren() properly for virtual root item; added unit test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:16:25 +00:00
Vadim Zeitlin
3faece9438 define [us]ptr_t properly for mingw64 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 11:52:59 +00:00
Stefan Csomor
e158da36bd printing adjustment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 11:10:39 +00:00
Stefan Csomor
c347101b66 streamlining printing support, adding printing support on osx-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 08:46:00 +00:00
Stefan Csomor
2c2fafe9c8 avoiding warning for unused var in cocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 08:45:05 +00:00
Francesco Montorsi
7d76fbd5a1 use enumerations instead of integers for wxFont style/weight/family
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 20:46:20 +00:00
Vadim Zeitlin
6689960c3c use wcs(n)casecmp() if available; use wxStricmp() to implement wxString::CmpNoCase() as it's significantly more efficient than wx code (closes #10375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 19:03:26 +00:00
Vadim Zeitlin
6bc176b4ab implement SetTimes() for directories too under MSW (#10250)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 18:03:00 +00:00
Vadim Zeitlin
403dd8db63 add missing header for mingw32 PCH-less build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:37:44 +00:00
Vadim Zeitlin
29de6f400c ensure that ProcessEvent() is called for all the event handlers, not just the first one in event handlers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:07:16 +00:00
Stefan Csomor
02fd8b9b61 fixing infinite recursion for rotated text, introduced in cleanup r57915
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:31:55 +00:00
Francesco Montorsi
730b772b41 Move SetDefaultTimeout to wxProtocol and set it to 60 seconds for both wxHTTP and wxFTP
Move SetPassword and SetUser implementations to wxProtocol to avoid code redundancy
Make const-correct various getters
Reorganize wxFTP docs
Move wxStringToStringHashMap to hashmap.h and document its existance



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:08:13 +00:00
Robert Roebling
dc813e6c7e Added wxDataViewListCtrl, use it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:04:00 +00:00
Jouk Jansen
595cf498a5 Add combo sample to compile list of OpenVMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 14:35:19 +00:00
Francesco Montorsi
4a90d7985c fix motif combobox for Motif < 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:54:06 +00:00
Francesco Montorsi
f30ef57e66 fix wxMotif build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:40:05 +00:00
Francesco Montorsi
21f0f3a2fa no real change; just reorder functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:33:14 +00:00
Vadim Zeitlin
23fb33aa4e don't use wxString::FromASCII() with possibly non-ASCII strings (fixes asserts when testing Japanese locale in the internat sample)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:24:25 +00:00
Václav Slavík
e68a8744ee silence gcc warnings in "vararg" functions such as wxPrintf when compiling with -Wformat-security
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 12:07:47 +00:00
Robert Roebling
8eff6c56f0 Change GetValue() and SetValue() to GetValueByRow() and SetValueByRow() in row based interface, Add wxDataViewListStore (WIP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:23:37 +00:00
Robert Roebling
c0d2308b25 Use paint handler instead of wxClientDC to draw DnD visual effects within wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:57:06 +00:00
Stefan Csomor
bbd8f8af49 make sure group boxes don't get the big font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 20:49:57 +00:00
Bryan Petty
03d8fb9cac Initialize m_action_window to NULL in wxAuiManager ctor (fixes #10383).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 18:56:15 +00:00
Stefan Csomor
c583fa5a58 adding missing header for non-precomp build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:50:13 +00:00
Vadim Zeitlin
f0d9be8afb fix PCH-less build with wxUSE_URL_NATIVE (see #10338)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:45:22 +00:00
Stefan Csomor
0c530e5a67 fixing controls with content areas, correcting radiobox layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 11:31:02 +00:00
Julian Smart
9c4cb61167 Added font family to wxTextAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 09:20:55 +00:00
Robert Roebling
bf9ea28818 Fixes #10382: Memory leak in wxDataViewMainWindow::IsExpanded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:48:11 +00:00
Robert Roebling
b0184e5939 Don't make wxFrame grow when adding a native wxToolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 23:45:08 +00:00
Vadim Zeitlin
ed491736fa reduce IPC buffer size to be less than typical Ethernet MTU after accounting for TCP overhead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 21:07:17 +00:00
Francesco Montorsi
f00204d341 use wxStrnlen() and add NULL-checks in wxMsgCatalogFile::FillHash for safer handling of corrupted MO files (closes #3151)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:26:14 +00:00
Francesco Montorsi
16d4ffde1e do not assert when the validator style == wxFILTER_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:21:26 +00:00
Francesco Montorsi
d19ce8c491 add some wxIMAGE_OPTION_PNG_xxx options to wxImage and wxPNGHandler to allow the user to set the desired compression level (closes #10372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:54:38 +00:00
Francesco Montorsi
604898dc4a fix ANI loading; check for errors when calling Read()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:26:19 +00:00
Vadim Zeitlin
e5cf63c9a8 don't assert if the locale couldn't be set in AddCatalog(), we should still be able to use translations in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 16:34:17 +00:00
Vadim Zeitlin
07a971eeff don't try to destroy the already destroyed OCX HWND
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:41:59 +00:00
Francesco Montorsi
84cae69a8b call event.Enable(true) in OnUpdateFileOpen and OnUpdateFileNew only if there are templates in the doc manager (closes #10163)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 15:25:05 +00:00