Commit Graph

49852 Commits

Author SHA1 Message Date
Jaakko Salli
fd5b4315dc Changed the ultimate fall-back popup window classes: wxMSW now uses wxFrame, wxMAC uses wxNonOwnedWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-04 19:05:28 +00:00
Paul Cornett
af8dcb5ec9 add missing break
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-04 00:21:29 +00:00
Robin Dunn
f14e42cec5 exclude SWIG generated files from being checked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-04 00:00:12 +00:00
Stefan Csomor
0cc67fd514 commenting never used code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 19:58:15 +00:00
Paul Cornett
ab451f970c Remove unused global bitmap, which caused crash on startup with wxUSE_XPM==0.
Use new pen style enums

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 16:39:24 +00:00
Paul Cornett
acc255e9d0 revert, checked in the wrong file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 16:37:54 +00:00
Paul Cornett
e9d0f38a2d QuickTime is needed by wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 16:32:21 +00:00
Paul Cornett
54c5d4fa43 Remove unused global bitmap, which caused crash on startup with wxUSE_XPM==0.
Use new pen style enums

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 16:23:18 +00:00
Jaakko Salli
c5fe6a5bee Added wxDECLARE_ANY_TYPE(CLS, DECL) and documented for what kind of situation it is intended: wxAny used across DLL and EXE boundaries.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 10:43:21 +00:00
Jaakko Salli
0b07302b41 Added change log entries for major new wxPropertyGrid features in wx2.9.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-03 08:27:58 +00:00
Stefan Csomor
267ba369d6 fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-02 19:56:35 +00:00
Stefan Csomor
2986eb869c adding construction from native bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-02 19:45:03 +00:00
Stefan Csomor
1821877f7f adding NSImage to CGImageRef conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-02 17:51:16 +00:00
Jaakko Salli
bb3400a873 Added note about dangers of adding and deleting items in wxEVT_COMMAND_COMBOBOX_CLOSEUP (works only on wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-02 14:15:35 +00:00
Jouk Jansen
5d8a7943f5 Fix compilation for wxUniversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-02 09:31:49 +00:00
Jaakko Salli
97f1626169 Fixed bug: wxEditEnumProperty's initial string value could not be outside the list of choices.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-01 16:06:58 +00:00
Stefan Csomor
63bcc669d8 fixing setting initial value under osx_cocoa for single line text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-01 08:59:01 +00:00
Vadim Zeitlin
b883113df1 Don't exit on errors in the pre-commit svn hook.
Errors in grep, when it fails to find any changed or updated files, also count
so the "set -e" line was causing the hook to reject any commits only deleting
files (without any error message).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-01 00:33:54 +00:00
Vadim Zeitlin
e755092283 Remove old and unused file.
We don't use WISE since many years, so remove the source of an utility which
was supposed to help with using it.

Closes #11270.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-10-01 00:32:03 +00:00
Stefan Csomor
ada175836e overriding to allocate an outer autorelease pool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 18:25:33 +00:00
Stefan Csomor
6bd1764f27 fixing text matrix (dataview custom renderer showed problems) and reordering SaveGState
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 17:50:49 +00:00
Vadim Zeitlin
9a78f7856d Fix harmless unused parameters warnings.
Also assert in the not implemented wxSound methods instead of silently
returning false.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 16:38:28 +00:00
Paul Cornett
f629f37a82 use proper signature for callback function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 15:39:21 +00:00
Paul Cornett
d6d3b32302 build fix for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 15:38:53 +00:00
Paul Cornett
e33cd7e203 build fix for wxUSE_SOCKETS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 15:38:23 +00:00
Stefan Csomor
3b2527c739 support backgroundcolor on osx_cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 15:20:30 +00:00
Julian Smart
b914917f2c Applied #11260 (found a regression while checking in src/motif/menu.cpp with static code analysis tool cppcheck)
Marin Ettl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 06:53:35 +00:00
Vadim Zeitlin
7a8e90dd7a Correct checks for conversion success in wxUniChar.
Correct the checks in wxUniChar::From/ToHi8bit() to check for conversion
success correctly as it always failed otherwise: wxMBConv::To/FromWChar()
conversion functions should return 2, not 1, when conversion of 2 characters
succeeded, even if one of them is a NUL.

Closes #11243.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-30 00:15:11 +00:00
Václav Slavík
023f27388f fix message box icons sizes in wxWindowsArtProvider: they should respect client ID and not be 32x32 all the time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 17:04:08 +00:00
Jaakko Salli
24985a9b5b Removed dst buffer delete responsibility from wxAnyValueType::CopyBuffer(), clarified documentation regarding it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 13:38:20 +00:00
Julian Smart
d90443b8a2 #11259: Correction for bad help button on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 07:19:38 +00:00
Julian Smart
92b929f0e1 Added help button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 07:15:14 +00:00
Julian Smart
8e43fc7776 Context menu now created in constructor; old context menu deleted when new one set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-29 06:45:36 +00:00
Bryan Petty
c06de7d4c8 Forward port of r62191 to SVN trunk fixing regression from r37982 (missing ')'). Fixes #11257.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 23:44:34 +00:00
Julian Smart
7da33e042c Moved WinPrinter from private.h to printdlg.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 16:15:34 +00:00
Paul Cornett
53c43278a9 linking fix for wxUSE_VALIDATORS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 15:36:06 +00:00
Paul Cornett
2ee7e3c302 build fix for wxUSE_SOCKETS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 15:35:48 +00:00
Julian Smart
2ae3afa09f Applied #9076 (scrolling bars grow box fix)
By lillo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 07:06:14 +00:00
Jaakko Salli
30fad74e44 Do not use wxS in array of const wxChar*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 06:40:26 +00:00
Jaakko Salli
9370ec6a3b wxUSE_THREAD -> wxUSE_THREADS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 06:25:44 +00:00
Julian Smart
1690c2ce36 Attempt at compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-28 06:07:43 +00:00
Jaakko Salli
ca5a36146e Use long double instead of double in wxAnyValueBuffer, moved alignment-specific values into sub-union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 16:30:26 +00:00
Jaakko Salli
62d7be2066 Added function and member function pointers in wxAnyValueBuffer to make memory alignment problems even less likely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 15:28:06 +00:00
Jaakko Salli
0411067998 Make sure there are no memory alignment issues with wxAnyValueBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 14:52:34 +00:00
Jaakko Salli
cd4b15e523 Do not process editor control events when propgrid event is currently being processed. Doing otherwise could lead to a crash if application is doing something time-consuming (such as displaying a message box) in the event handler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 14:39:03 +00:00
Jaakko Salli
644b283d6a Store property name and value in wxPropertyGridEvent, keep track of live event instances, and clear property/grid information in them in wxPropertyGrid dtor. This allows application to relay events for later processing without fear of losing most relevant information within.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 14:35:02 +00:00
Jaakko Salli
9867e3e498 wxFontProperty: Added support for wxFONTFAMILY_TELETYPE and wxFONTFAMILY_UNKNOWN, moved Family child-property to the back.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-27 11:44:25 +00:00
Julian Smart
906cb3f119 Applied modified #10655 (Added Cookie (receive) support to wxHTTP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 19:47:23 +00:00
Stefan Csomor
b0a9bfc8b8 adding ProcessPendingEvents as ProcessIdle doesn't call it anymore, closes #11132
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 18:50:33 +00:00
Vadim Zeitlin
0b2a23c48d No real changes, just small cleanup in wxMac wxDVC.
Use wxDC{Pen,Brush}Changer classes instead of setting/restoring pen and brush
manually.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 16:43:44 +00:00