]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoadd the wxFont(const wxSize& pixelSize, ...) ctor to all ports; add some wxCHECK_MSGs...
Francesco Montorsi [Sun, 15 Mar 2009 16:28:33 +0000 (16:28 +0000)] 
add the wxFont(const wxSize& pixelSize, ...) ctor to all ports; add some wxCHECK_MSGs to ensure that the wxSize objects contains non-negative arguments; document that passing zero for the width parameter is allowed; other minor doc fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRebake after last change.
Kevin Ollivier [Sun, 15 Mar 2009 16:14:56 +0000 (16:14 +0000)] 
Rebake after last change.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOn Mac, ensure that the library path and dependencies point to the right location...
Kevin Ollivier [Sun, 15 Mar 2009 16:07:56 +0000 (16:07 +0000)] 
On Mac, ensure that the library path and dependencies point to the right location whether or not the library is installed.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agochanging layout to better adhere to HIG, fixing truncation on cocoa, fixes #10584
Stefan Csomor [Sun, 15 Mar 2009 14:12:33 +0000 (14:12 +0000)] 
changing layout to better adhere to HIG, fixing truncation on cocoa, fixes #10584

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowarn the user that for all basic classes wxPoint,wxRect,wxSize,wxRealPoint negative...
Francesco Montorsi [Sun, 15 Mar 2009 11:33:40 +0000 (11:33 +0000)] 
warn the user that for all basic classes wxPoint,wxRect,wxSize,wxRealPoint negative values are allowed inside the internal coordinate members; specify that their default ctors init to zero their internals

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixed docs of rows/cols XRC property
Václav Slavík [Sun, 15 Mar 2009 11:05:14 +0000 (11:05 +0000)] 
fixed docs of rows/cols XRC property

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofixing obj-c warnings
Stefan Csomor [Sun, 15 Mar 2009 10:58:29 +0000 (10:58 +0000)] 
fixing obj-c warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agobetter XRC errors reporting: report location of the error and use unified formatting
Václav Slavík [Sun, 15 Mar 2009 10:29:14 +0000 (10:29 +0000)] 
better XRC errors reporting: report location of the error and use unified formatting

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomaking sure peer->Move refreshes properly, bringing in synch with carbon, applying...
Stefan Csomor [Sun, 15 Mar 2009 10:20:39 +0000 (10:20 +0000)] 
making sure peer->Move refreshes properly, bringing in synch with carbon, applying patch, fixes #10403

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agochanges for embedded, applying patch, fixes #10359
Stefan Csomor [Sun, 15 Mar 2009 09:58:18 +0000 (09:58 +0000)] 
changes for embedded, applying patch, fixes #10359

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoConsider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations...
Kevin Ollivier [Sun, 15 Mar 2009 01:19:09 +0000 (01:19 +0000)] 
Consider wxOSX the port name, and have wxOSX/Carbon and wxOSX/Cocoa as variations, so that linkages from function docs are left intact. Also, do a little cleanup and elaborate more in the docs for OS X Cocoa and OS X Carbon.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomore docs and more comments in the sample code for wxObject* classes; document Create...
Francesco Montorsi [Sun, 15 Mar 2009 01:03:48 +0000 (01:03 +0000)] 
more docs and more comments in the sample code for wxObject* classes; document CreateRefData() and CloneRefData()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement the wxGTK selective yield with a different approach: rather than getting...
Francesco Montorsi [Sat, 14 Mar 2009 23:59:21 +0000 (23:59 +0000)] 
implement the wxGTK selective yield with a different approach: rather than getting the events ourselves and fetching them to gtk_main_do_event(), install our own wxgtk_main_do_event() to filter them (closes #10320 -- see bug reported in comment 19)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix warning about needless comparison of unsigned with 0
Vadim Zeitlin [Sat, 14 Mar 2009 23:31:37 +0000 (23:31 +0000)] 
fix warning about needless comparison of unsigned with 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove stray debugging printf
Vadim Zeitlin [Sat, 14 Mar 2009 23:29:08 +0000 (23:29 +0000)] 
remove stray debugging printf

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fix for Watcom (see #10576)
Vadim Zeitlin [Sat, 14 Mar 2009 23:26:39 +0000 (23:26 +0000)] 
compilation fix for Watcom (see #10576)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoimplement EVT_TEXT and EVT_TEXT_ENTER for NSTextView-derived text controls.
Kevin Ollivier [Sat, 14 Mar 2009 19:39:30 +0000 (19:39 +0000)] 
implement EVT_TEXT and EVT_TEXT_ENTER for NSTextView-derived text controls.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoinclude all events categories in wxEVT_CATEGORY_ALL
Francesco Montorsi [Sat, 14 Mar 2009 19:20:03 +0000 (19:20 +0000)] 
include all events categories in wxEVT_CATEGORY_ALL

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoSorry, needed to fix typo in previous commit.
Stefan Neis [Sat, 14 Mar 2009 18:41:18 +0000 (18:41 +0000)] 
Sorry, needed to fix typo in previous commit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUpdate m_nSize when shrinking wxArrayString (fixes #10591).
Stefan Neis [Sat, 14 Mar 2009 18:34:46 +0000 (18:34 +0000)] 
Update m_nSize when shrinking wxArrayString (fixes #10591).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomore links to native docs for wxGTK; some typo fix
Francesco Montorsi [Sat, 14 Mar 2009 14:26:00 +0000 (14:26 +0000)] 
more links to native docs for wxGTK; some typo fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomore specs for wxDC::DrawRotatedText
Francesco Montorsi [Sat, 14 Mar 2009 14:02:37 +0000 (14:02 +0000)] 
more specs for wxDC::DrawRotatedText

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxSize overloads to wxBitmap ctors and to wxBitmap::Create
Francesco Montorsi [Sat, 14 Mar 2009 13:57:51 +0000 (13:57 +0000)] 
add wxSize overloads to wxBitmap ctors and to wxBitmap::Create

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd overloads of ctors and Create() functions taking wxSize; document the various...
Francesco Montorsi [Sat, 14 Mar 2009 13:28:28 +0000 (13:28 +0000)] 
add overloads of ctors and Create() functions taking wxSize; document the various Create() overloads; reorganize wxImage docs categorizing the various functions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix crash caused by an wxMDIClientWindow's GTK signal handler being called when the...
Francesco Montorsi [Sat, 14 Mar 2009 01:24:45 +0000 (01:24 +0000)] 
fix crash caused by an wxMDIClientWindow's GTK signal handler being called when the wxMDIClientWindow is already (partially) destroyed: easily reproducible (without this fix) in the 'mdi' and 'svg' samples

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agorevise the sample, simplifying and cleaning it where possible
Francesco Montorsi [Sat, 14 Mar 2009 01:01:12 +0000 (01:01 +0000)] 
revise the sample, simplifying and cleaning it where possible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodo not use @c to refer to wxDefault* objects; use :: so an hypertext link is created
Francesco Montorsi [Sat, 14 Mar 2009 00:49:24 +0000 (00:49 +0000)] 
do not use @c to refer to wxDefault* objects; use :: so an hypertext link is created

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoavoid GDK warnings about invalid windows when creating wxTopLevel::Refresh too early
Francesco Montorsi [Fri, 13 Mar 2009 23:07:53 +0000 (23:07 +0000)] 
avoid GDK warnings about invalid windows when creating wxTopLevel::Refresh too early

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoOnly MSW supports loading sounds from data.
Kevin Ollivier [Fri, 13 Mar 2009 21:02:13 +0000 (21:02 +0000)] 
Only MSW supports loading sounds from data.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAnother place we need an autorelease pool.
Kevin Ollivier [Fri, 13 Mar 2009 20:54:02 +0000 (20:54 +0000)] 
Another place we need an autorelease pool.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosolving inversion problem, because SetShape is redefined on toplevel.h level
Stefan Csomor [Fri, 13 Mar 2009 18:43:46 +0000 (18:43 +0000)] 
solving inversion problem, because SetShape is redefined on toplevel.h level

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agomaking sure toplevel default width/sizes are used
Stefan Csomor [Fri, 13 Mar 2009 18:23:04 +0000 (18:23 +0000)] 
making sure toplevel default width/sizes are used

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agosupporting AA font flags on wxGCDC, fixes #10579
Stefan Csomor [Fri, 13 Mar 2009 17:53:58 +0000 (17:53 +0000)] 
supporting AA font flags on wxGCDC, fixes #10579

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMac -> OSX header change.
Kevin Ollivier [Fri, 13 Mar 2009 17:22:31 +0000 (17:22 +0000)] 
Mac -> OSX header change.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAllow disabled properties to be expanded/collapsed via keyboard events (they could...
Jaakko Salli [Fri, 13 Mar 2009 15:42:28 +0000 (15:42 +0000)] 
Allow disabled properties to be expanded/collapsed via keyboard events (they could anyway be expanded/collapsed via the expander button)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreturn URLs, not filenames, from wxFileSystem::FindFirst/FindNext() for the file...
Václav Slavík [Fri, 13 Mar 2009 15:04:05 +0000 (15:04 +0000)] 
return URLs, not filenames, from wxFileSystem::FindFirst/FindNext() for the file: protocol

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadded wxXmlResource::LoadAllFiles()
Václav Slavík [Fri, 13 Mar 2009 13:26:46 +0000 (13:26 +0000)] 
added wxXmlResource::LoadAllFiles()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMade DoSize and GetPageRect virtual for easier derivation without duplicating a lot...
Julian Smart [Fri, 13 Mar 2009 09:22:23 +0000 (09:22 +0000)] 
Made DoSize and GetPageRect virtual for easier derivation without duplicating a lot of code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRebake after Mac bundle change.
Kevin Ollivier [Fri, 13 Mar 2009 05:27:13 +0000 (05:27 +0000)] 
Rebake after Mac bundle change.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoJust move the binary inside of the app bundle instead of making a separate copy of...
Kevin Ollivier [Fri, 13 Mar 2009 05:23:07 +0000 (05:23 +0000)] 
Just move the binary inside of the app bundle instead of making a separate copy of it in the bundle.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemoving more CodeWarrior samples.
Kevin Ollivier [Thu, 12 Mar 2009 19:37:41 +0000 (19:37 +0000)] 
Removing more CodeWarrior samples.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemoving more CodeWarrior project files.
Kevin Ollivier [Thu, 12 Mar 2009 19:32:13 +0000 (19:32 +0000)] 
Removing more CodeWarrior project files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemove docs for the removed CodeWarrior projects.
Kevin Ollivier [Thu, 12 Mar 2009 19:30:50 +0000 (19:30 +0000)] 
Remove docs for the removed CodeWarrior projects.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemove instructions for Mac OS Classic.
Kevin Ollivier [Thu, 12 Mar 2009 19:29:27 +0000 (19:29 +0000)] 
Remove instructions for Mac OS Classic.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemoving Classic MacOS / CodeWarrior instructions as neither are supported any longer.
Kevin Ollivier [Thu, 12 Mar 2009 19:14:14 +0000 (19:14 +0000)] 
Removing Classic MacOS / CodeWarrior instructions as neither are supported any longer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoReworked the way child properties can be added to a property that has not yet been...
Jaakko Salli [Thu, 12 Mar 2009 18:17:55 +0000 (18:17 +0000)] 
Reworked the way child properties can be added to a property that has not yet been added to a grid or page; AddChild() deprecated, now use AddPrivateChild() instead. For public children, new member functions AppendChild() and InsertChild() should do the job.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemoving pch header files for CodeWarrior and also the wx_pb.h which is no longer...
Kevin Ollivier [Thu, 12 Mar 2009 17:26:48 +0000 (17:26 +0000)] 
Removing pch header files for CodeWarrior and also the wx_pb.h which is no longer used.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix reference ids and update Mac requirements in the introduction page.
Kevin Ollivier [Thu, 12 Mar 2009 17:06:00 +0000 (17:06 +0000)] 
Fix reference ids and update Mac requirements in the introduction page.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoRemove CodeWarrior portion of the Mac installation instructions.
Kevin Ollivier [Thu, 12 Mar 2009 16:24:41 +0000 (16:24 +0000)] 
Remove CodeWarrior portion of the Mac installation instructions.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCodeWarrior has been discontinued on Mac for years, and none of the (manually maintai...
Kevin Ollivier [Thu, 12 Mar 2009 16:23:22 +0000 (16:23 +0000)] 
CodeWarrior has been discontinued on Mac for years, and none of the (manually maintained) project files have been updated in at least 3 years, so remove CodeWarrior support from the tree.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocompilation fix for ANSI build
Vadim Zeitlin [Thu, 12 Mar 2009 12:14:14 +0000 (12:14 +0000)] 
compilation fix for ANSI build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoupdate OpenVMS makefiles
Jouk Jansen [Thu, 12 Mar 2009 11:11:28 +0000 (11:11 +0000)] 
update OpenVMS makefiles

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agocorrections to Dutch translation from Gideon van Melle
Vadim Zeitlin [Thu, 12 Mar 2009 10:30:11 +0000 (10:30 +0000)] 
corrections to Dutch translation from Gideon van Melle

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUpdate wxMac docs to reflect new wxOSX/Carbon and wxOSX/Cocoa split, keep a note...
Kevin Ollivier [Thu, 12 Mar 2009 01:31:20 +0000 (01:31 +0000)] 
Update wxMac docs to reflect new wxOSX/Carbon and wxOSX/Cocoa split, keep a note about the original Cocoa port.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd a note about the flag for compiling OSX/Cocoa.
Kevin Ollivier [Thu, 12 Mar 2009 01:21:31 +0000 (01:21 +0000)] 
Add a note about the flag for compiling OSX/Cocoa.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoreset the associated view frame pointer when the frame is deleted directly instead...
Vadim Zeitlin [Wed, 11 Mar 2009 16:11:54 +0000 (16:11 +0000)] 
reset the associated view frame pointer when the frame is deleted directly instead of being closed gracefully

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCommit third algorithm for sorting and preserving old positions
Robert Roebling [Wed, 11 Mar 2009 14:33:00 +0000 (14:33 +0000)] 
Commit third algorithm for sorting and preserving old positions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agowork around some (harmless) g++ warnings about possibly uninitalized variables
Vadim Zeitlin [Wed, 11 Mar 2009 13:57:05 +0000 (13:57 +0000)] 
work around some (harmless) g++ warnings about possibly uninitalized variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoremove MSVC warnings about DLL-exported class inheriting from non DLL-exported one...
Vadim Zeitlin [Wed, 11 Mar 2009 13:16:45 +0000 (13:16 +0000)] 
remove MSVC warnings about DLL-exported class inheriting from non DLL-exported one by not exporting private classes at all

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodisable IPC test completely as it prevents the test program from running to completio...
Vadim Zeitlin [Wed, 11 Mar 2009 13:15:45 +0000 (13:15 +0000)] 
disable IPC test completely as it prevents the test program from running to completion when it hangs (for still unknown reason)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agorenamed ATTRIBUTE_PRINTF to WX_ATTRIBUTE_PRINTF to avoid naming conflicts (e.g. with...
Václav Slavík [Wed, 11 Mar 2009 07:51:38 +0000 (07:51 +0000)] 
renamed ATTRIBUTE_PRINTF to WX_ATTRIBUTE_PRINTF to avoid naming conflicts (e.g. with latest libxml2)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoGet SetLabel working again for wxStaticText by overriding SetLabel so that we can...
Kevin Ollivier [Wed, 11 Mar 2009 04:50:51 +0000 (04:50 +0000)] 
Get SetLabel working again for wxStaticText by overriding SetLabel so that we can respect alignment. Also add a couple more sizing tweaks.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadding pure CoreText Impl
Stefan Csomor [Tue, 10 Mar 2009 21:27:20 +0000 (21:27 +0000)] 
adding pure CoreText Impl

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMention wxQsort()
Robert Roebling [Tue, 10 Mar 2009 18:41:02 +0000 (18:41 +0000)] 
Mention wxQsort()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMake a single for loop out of two
Robert Roebling [Tue, 10 Mar 2009 18:31:00 +0000 (18:31 +0000)] 
Make a single for loop out of two

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoalso fix handling of wxSP_ARROW_KEYS|wxSP_WRAP (see #10565)
Vadim Zeitlin [Tue, 10 Mar 2009 15:45:13 +0000 (15:45 +0000)] 
also fix handling of wxSP_ARROW_KEYS|wxSP_WRAP (see #10565)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agohonour wxSP_ARROW_KEYS in wxSpinCtrlGeneric and don't handle the arrows unless it...
Vadim Zeitlin [Tue, 10 Mar 2009 15:36:17 +0000 (15:36 +0000)] 
honour wxSP_ARROW_KEYS in wxSpinCtrlGeneric and don't handle the arrows unless it's specified (closes #10565)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoChange Compare() method to being const
Robert Roebling [Tue, 10 Mar 2009 14:06:04 +0000 (14:06 +0000)] 
Change Compare() method to being const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoUse sorting algo using wxQsort that includes the old position for reporting that...
Robert Roebling [Tue, 10 Mar 2009 13:38:41 +0000 (13:38 +0000)] 
Use sorting algo using wxQsort that includes the old position for reporting that to GtkTreeView

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMake wxDataViewModel::Compare() const
Robert Roebling [Tue, 10 Mar 2009 13:37:26 +0000 (13:37 +0000)] 
Make wxDataViewModel::Compare() const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoForgot to commit the header change too.
Kevin Ollivier [Tue, 10 Mar 2009 06:00:32 +0000 (06:00 +0000)] 
Forgot to commit the header change too.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFocus handling fixes - make sure new windows activate on show, ensure focus events...
Kevin Ollivier [Tue, 10 Mar 2009 05:07:46 +0000 (05:07 +0000)] 
Focus handling fixes - make sure new windows activate on show, ensure focus events call SetWindow with the previous / next focus window respectively, and go back to native behavior for now with acceptsFirstResponder until we can figure out how to pass the results of AcceptsFocus() to it without getting in a loop as the wx API calls native and vice versa.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoBorder styles create a double-border on native search ctrl, just use the one Apple...
Kevin Ollivier [Tue, 10 Mar 2009 04:56:32 +0000 (04:56 +0000)] 
Border styles create a double-border on native search ctrl, just use the one Apple draws.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd support for multiple extensions to wxImage handlers (closes #10570)
Vadim Zeitlin [Mon, 9 Mar 2009 23:13:34 +0000 (23:13 +0000)] 
add support for multiple extensions to wxImage handlers (closes #10570)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono changes, just correct the file name in the header (part of #10570)
Vadim Zeitlin [Mon, 9 Mar 2009 23:08:36 +0000 (23:08 +0000)] 
no changes, just correct the file name in the header (part of #10570)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono real changes, just correct a comment (closes #10563)
Vadim Zeitlin [Mon, 9 Mar 2009 23:05:25 +0000 (23:05 +0000)] 
no real changes, just correct a comment (closes #10563)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodefine HOST_SUFFIX as empty string when not cross-compiling as it's also used in...
Vadim Zeitlin [Mon, 9 Mar 2009 22:41:02 +0000 (22:41 +0000)] 
define HOST_SUFFIX as empty string when not cross-compiling as it's also used in this case (fixes breakage in library names introduced by r59381)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoImplement vetoing editing in wxDataViewTextRenderer under GTK+ and test it in the...
Robert Roebling [Mon, 9 Mar 2009 20:49:22 +0000 (20:49 +0000)] 
Implement vetoing editing in wxDataViewTextRenderer under GTK+ and test it in the sample (see also #10495)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdd wxDataViewEvent for vetoing label editing (see also #10495)
Robert Roebling [Mon, 9 Mar 2009 20:48:04 +0000 (20:48 +0000)] 
Add wxDataViewEvent for vetoing label editing (see also #10495)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoclose the associated frame if the view is deleted directly to avoid leaving zombie...
Vadim Zeitlin [Mon, 9 Mar 2009 19:53:49 +0000 (19:53 +0000)] 
close the associated frame if the view is deleted directly to avoid leaving zombie frames floating around

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't use wxScopedPtr<> in wxDocTemplate::CreateDocument() as the document is implici...
Vadim Zeitlin [Mon, 9 Mar 2009 19:40:49 +0000 (19:40 +0000)] 
don't use wxScopedPtr<> in wxDocTemplate::CreateDocument() as the document is implicitly deleted by InitDocument() if its initialization fails; try to explain the (complex and inconsistent) rules for deleting the document in the manual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoPCH-less build fix after r59452
Vadim Zeitlin [Mon, 9 Mar 2009 19:29:07 +0000 (19:29 +0000)] 
PCH-less build fix after r59452

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't leak memory if exceptions are thrown during a new wxDocument creation
Vadim Zeitlin [Mon, 9 Mar 2009 18:45:35 +0000 (18:45 +0000)] 
don't leak memory if exceptions are thrown during a new wxDocument creation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoMinor wxPGMultiButton refacotring
Jaakko Salli [Mon, 9 Mar 2009 18:33:41 +0000 (18:33 +0000)] 
Minor wxPGMultiButton refacotring

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAllow wxPGMultiButton to work even if primary editor control was not created in wxPGE...
Jaakko Salli [Mon, 9 Mar 2009 18:32:43 +0000 (18:32 +0000)] 
Allow wxPGMultiButton to work even if primary editor control was not created in wxPGEditor::CreateControls(); Clarified related samples and documentation.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodon't call neither OnSaveModified() nor Modify(false) from On{New,Open}Document(...
Vadim Zeitlin [Mon, 9 Mar 2009 18:13:04 +0000 (18:13 +0000)] 
don't call neither OnSaveModified() nor Modify(false) from On{New,Open}Document(): these methods are only ever called for the new wxDocument object which should never be saved, even if they're marked as modified by the user-defined document creation code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded build/msw/wx_propgrid.dsp to vc manifest (I hope this fixes #10564)
Jaakko Salli [Mon, 9 Mar 2009 17:09:58 +0000 (17:09 +0000)] 
Added build/msw/wx_propgrid.dsp to vc manifest (I hope this fixes #10564)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agorestore passing WM_COMMAND messages for SC_XXX commands to DefFrameProc() in wxMDIPar...
Vadim Zeitlin [Mon, 9 Mar 2009 13:05:40 +0000 (13:05 +0000)] 
restore passing WM_COMMAND messages for SC_XXX commands to DefFrameProc() in wxMDIParentFrame::MSWWindowProc() accidentally removed in previous changes; removed doing this for WM_SYSCOMMAND in wxMDIChildFrame as this does seem to be unnecessary

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFix for accessing m_peer during initialization.
Kevin Ollivier [Mon, 9 Mar 2009 04:29:42 +0000 (04:29 +0000)] 
Fix for accessing m_peer during initialization.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoCommit most parts of #10495 wxDataViewCtrl needs a way to start the label editor...
Robert Roebling [Sun, 8 Mar 2009 21:41:57 +0000 (21:41 +0000)] 
Commit most parts of #10495 wxDataViewCtrl needs a way to start the label editor programmatically

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoFixes #10556: wxDataViewCtrl keyboard navigation broken in r59379, some internal...
Robert Roebling [Sun, 8 Mar 2009 21:23:12 +0000 (21:23 +0000)] 
Fixes #10556: wxDataViewCtrl keyboard navigation broken in r59379, some internal renaming

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agotake into account the width of the static box label in wxStaticBoxSizer minimal size...
Vadim Zeitlin [Sun, 8 Mar 2009 15:59:23 +0000 (15:59 +0000)] 
take into account the width of the static box label in wxStaticBoxSizer minimal size computation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agono changes, just removed unnecessary GetStaticBoxBorders() function
Vadim Zeitlin [Sun, 8 Mar 2009 15:54:08 +0000 (15:54 +0000)] 
no changes, just removed unnecessary GetStaticBoxBorders() function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoadd wxAppConsoleBase::DeletePendingEvents and wxEvtHandler::DeletePendingEvents.
Francesco Montorsi [Sun, 8 Mar 2009 12:58:24 +0000 (12:58 +0000)] 
add wxAppConsoleBase::DeletePendingEvents and wxEvtHandler::DeletePendingEvents.
Fix wxAppConsoleBase::Suspend/ResumeProcessingOfPendingEvents: locking the mutex does not prevent wxAppConsoleBase::ProcessPendingEvents from running if the mutex was locked from the main thread!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument that locking a wxMutex or a wxCriticalSection twice from the same thread...
Francesco Montorsi [Sun, 8 Mar 2009 12:56:48 +0000 (12:56 +0000)] 
document that locking a wxMutex or a wxCriticalSection twice from the same thread doesn't result in a deadlock

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agodocument wxProgressDialog::Update(maximumValue) behaviour and warn the user that...
Francesco Montorsi [Sun, 8 Mar 2009 12:08:39 +0000 (12:08 +0000)] 
document wxProgressDialog::Update(maximumValue) behaviour and warn the user that it may generate unwanted re-entrancies because of wxDialog::ShowModal()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agofix typo; distribute docs between Open() overloads for better rendering/better functi...
Francesco Montorsi [Sun, 8 Mar 2009 12:05:00 +0000 (12:05 +0000)] 
fix typo; distribute docs between Open() overloads for better rendering/better function descriptions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAdded support for 'AutoComplete' attribute, automatically used by any wxTextCtrl...
Jaakko Salli [Sun, 8 Mar 2009 11:34:01 +0000 (11:34 +0000)] 
Added support for 'AutoComplete' attribute, automatically used by any wxTextCtrl-based property editor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoAlways reduce size of the last (instead of widest) wxPropertyGrid column when control...
Jaakko Salli [Sun, 8 Mar 2009 11:04:36 +0000 (11:04 +0000)] 
Always reduce size of the last (instead of widest) wxPropertyGrid column when control's client size changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

15 years agoletting the peer declare whether it wants to draw its borders itself (eg the search...
Stefan Csomor [Sun, 8 Mar 2009 10:02:25 +0000 (10:02 +0000)] 
letting the peer declare whether it wants to draw its borders itself (eg the search control has a round border on mac)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775