Commit Graph

48187 Commits

Author SHA1 Message Date
Jaakko Salli
48a32cf671 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
2009-03-12 18:17:55 +00:00
Kevin Ollivier
69cf69be93 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
2009-03-12 17:26:48 +00:00
Kevin Ollivier
e9b686c595 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
2009-03-12 17:06:00 +00:00
Kevin Ollivier
9fad307de6 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
2009-03-12 16:24:41 +00:00
Kevin Ollivier
fc5e8e07f7 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
2009-03-12 16:23:22 +00:00
Vadim Zeitlin
ec592d7f3e compilation fix for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 12:14:14 +00:00
Jouk Jansen
a5729efb13 update OpenVMS makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-12 11:11:28 +00:00
Vadim Zeitlin
e33e36ed08 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
2009-03-12 10:30:11 +00:00
Kevin Ollivier
2b8471fbb9 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
2009-03-12 01:31:20 +00:00
Kevin Ollivier
38f9fde8ca 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
2009-03-12 01:21:31 +00:00
Vadim Zeitlin
b7341fe06f 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
2009-03-11 16:11:54 +00:00
Robert Roebling
5b276ac1db 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
2009-03-11 14:33:00 +00:00
Vadim Zeitlin
8793514e03 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
2009-03-11 13:57:05 +00:00
Vadim Zeitlin
5aac6f3f95 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
2009-03-11 13:16:45 +00:00
Vadim Zeitlin
3a3b0bc2ea 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
2009-03-11 13:15:45 +00:00
Václav Slavík
862bb5c73a 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
2009-03-11 07:51:38 +00:00
Kevin Ollivier
a4e3249255 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
2009-03-11 04:50:51 +00:00
Stefan Csomor
d866bea43d adding pure CoreText Impl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 21:27:20 +00:00
Robert Roebling
ea11aeeef0 Mention wxQsort()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 18:41:02 +00:00
Robert Roebling
e4a8d29c50 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
2009-03-10 18:31:00 +00:00
Vadim Zeitlin
70c147281a 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
2009-03-10 15:45:13 +00:00
Vadim Zeitlin
fd07e185b4 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
2009-03-10 15:36:17 +00:00
Robert Roebling
a82e28dd03 Change Compare() method to being const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 14:06:04 +00:00
Robert Roebling
1f226ad8a7 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
2009-03-10 13:38:41 +00:00
Robert Roebling
862de7b3d9 Make wxDataViewModel::Compare() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 13:37:26 +00:00
Kevin Ollivier
87bf626584 Forgot to commit the header change too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-10 06:00:32 +00:00
Kevin Ollivier
b42865cee4 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
2009-03-10 05:07:46 +00:00
Kevin Ollivier
b13d363b87 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
2009-03-10 04:56:32 +00:00
Vadim Zeitlin
ba4800d3ae 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
2009-03-09 23:13:34 +00:00
Vadim Zeitlin
e225e700ef 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
2009-03-09 23:08:36 +00:00
Vadim Zeitlin
ca21f825b5 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
2009-03-09 23:05:25 +00:00
Vadim Zeitlin
28c594914e 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
2009-03-09 22:41:02 +00:00
Robert Roebling
ecc322264b 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
2009-03-09 20:49:22 +00:00
Robert Roebling
3e978cf7b2 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
2009-03-09 20:48:04 +00:00
Vadim Zeitlin
ada1ff0dbc 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
2009-03-09 19:53:49 +00:00
Vadim Zeitlin
4c7d530a26 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
2009-03-09 19:40:49 +00:00
Vadim Zeitlin
3a393f8a52 PCH-less build fix after r59452
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 19:29:07 +00:00
Vadim Zeitlin
7339d7bda1 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
2009-03-09 18:45:35 +00:00
Jaakko Salli
f9bd155875 Minor wxPGMultiButton refacotring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 18:33:41 +00:00
Jaakko Salli
6086bcc8ba 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
2009-03-09 18:32:43 +00:00
Vadim Zeitlin
0b108d1006 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
2009-03-09 18:13:04 +00:00
Jaakko Salli
de8fe8ca3d 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
2009-03-09 17:09:58 +00:00
Vadim Zeitlin
f4be5cd0bf 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
2009-03-09 13:05:40 +00:00
Kevin Ollivier
7185918d69 Fix for accessing m_peer during initialization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-09 04:29:42 +00:00
Robert Roebling
c937344c8f 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
2009-03-08 21:41:57 +00:00
Robert Roebling
235d5f88e6 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
2009-03-08 21:23:12 +00:00
Vadim Zeitlin
997e8e2979 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
2009-03-08 15:59:23 +00:00
Vadim Zeitlin
2d5fccc60b no changes, just removed unnecessary GetStaticBoxBorders() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 15:54:08 +00:00
Francesco Montorsi
cae9e7b169 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
2009-03-08 12:58:24 +00:00
Francesco Montorsi
db034c5228 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
2009-03-08 12:56:48 +00:00