]>
git.saurik.com Git - wxWidgets.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Kevin Ollivier [Sun, 8 Mar 2009 06:42:52 +0000 (06:42 +0000)]
Fix double-click support for wxListBox (#10548)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59426
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 8 Mar 2009 06:35:58 +0000 (06:35 +0000)]
Mac inherits the window variant setting on control creation, and thus on Mac this always asserts, so remove the assert to fix #10559.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59425
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 8 Mar 2009 04:15:58 +0000 (04:15 +0000)]
Fixes needed to get transient popup windows working, also implement SetFont for OS X Cocoa for classes that support it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59424
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sun, 8 Mar 2009 03:32:37 +0000 (03:32 +0000)]
Make sure the user can't select the text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59423
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 23:37:51 +0000 (23:37 +0000)]
detect adding too many items to a grid sizer sooner and don't crash if this happens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59422
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 19:36:59 +0000 (19:36 +0000)]
support %l in wxDateTime::ParseFormat()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59421
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 16:07:58 +0000 (16:07 +0000)]
optimize Replace() to use a linear algorithm (closes #9135)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59420
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:49:57 +0000 (15:49 +0000)]
add wxUSE_CONFIG checks (see #10560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59419
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:49:32 +0000 (15:49 +0000)]
no changes, just remove an extra space (see #10560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59418
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:39:09 +0000 (15:39 +0000)]
replace wxGetMultipleChoices() with wxGetSelectedChoices() which allows to distinguish between cancelling the dialog and not selecting any items in it (closes #10057)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59417
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:28:47 +0000 (15:28 +0000)]
correct size of extra controls in pixels to dialogs units correctly (see #9679)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59416
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:16:48 +0000 (15:16 +0000)]
don't add the sash size to the best size if the window is not actually split (see #10533)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59415
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:10:49 +0000 (15:10 +0000)]
also remove WXUNUSED_UNLESS_DEBUG to fix release build after t59404
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59414
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 15:08:52 +0000 (15:08 +0000)]
compilation fix: add missing header after r59404
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59413
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 7 Mar 2009 14:54:01 +0000 (14:54 +0000)]
wxMac requires UTF-8 for wxTextDataoObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59412
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 14:37:53 +0000 (14:37 +0000)]
store our styles in wxSpinCtrlGenericBase ctor (needed to make the changes of r59410 actually work, see #10557)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59411
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 14:27:06 +0000 (14:27 +0000)]
support wxSP_WRAP in generic implementation (closes #10557)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59410
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 14:25:38 +0000 (14:25 +0000)]
use wxLog::Log() instead of ugly cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59409
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 14:23:31 +0000 (14:23 +0000)]
suppress wxLog::DoLog() and DoLogString() hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59408
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 7 Mar 2009 14:09:01 +0000 (14:09 +0000)]
wxDATAVIEW_CELL_ACTIVATABLE translates Editable under OS X. Maybe we should remove the distinction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59407
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 14:07:45 +0000 (14:07 +0000)]
fix generation of key events with Alt pressed broken by r59369 (see #626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59406
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 14:03:45 +0000 (14:03 +0000)]
add wxUSE_CONFIG guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59405
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 7 Mar 2009 13:58:39 +0000 (13:58 +0000)]
added wxProtocolLog class for logging network requests/responses (closes #7464)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59404
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 7 Mar 2009 13:46:28 +0000 (13:46 +0000)]
Report first selected item in selection change event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59403
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 7 Mar 2009 13:33:27 +0000 (13:33 +0000)]
Make wxDataViewCtrl::GetBestSize() return a height of 80 on OSX as per the other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59402
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 7 Mar 2009 12:11:17 +0000 (12:11 +0000)]
Correct define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59401
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 7 Mar 2009 04:20:52 +0000 (04:20 +0000)]
For search ctrl, the bordered and bezeled styles destroy the control's rounded border and white background for some reason. This gives us "double borders", but for the moment it's better than the old look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59400
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 7 Mar 2009 04:19:26 +0000 (04:19 +0000)]
Add alignment support, and more tweaks for label size issues, though I hope to find the core cause and solution soon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59399
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 23:42:06 +0000 (23:42 +0000)]
fix wxDataObjectComposite::GetFormatCount and add some comments to explain the reason of recents modifications to wxDataObjectComposite (closes #10430)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59395
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 6 Mar 2009 23:30:54 +0000 (23:30 +0000)]
wxBusyInfo now uses wxGenericStaticText under GTK+, more Refresh/Update updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59394
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 22:57:03 +0000 (22:57 +0000)]
wxDataViewColumn derives from wxSettableHeaderColumn, not from wxHeaderColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59393
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 22:56:27 +0000 (22:56 +0000)]
don't return hardcoded constants for empty renderers, introduce wxDVC_DEFAULT_RENDERER_SIZE.
Some code styling review (indentation, long line wrapping, etc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59392
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 22:45:00 +0000 (22:45 +0000)]
fix wxTextDataObject::GetDataHere and SetData functions (under wxMSW) so that they work with strings with embedded NULLs and can cope with non-NULL terminated arrays.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59391
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 22:36:03 +0000 (22:36 +0000)]
move wxDataFormat and wxDataObject docs at the beginning of the file, before the derived classes' docs.
Many small improvements.
Document wxTextDataObject::GetFormatCount, GetAllFormats(), GetFormat() functions as the wxDataObjectSimple docs for those functions result misleading for wxTextDataObject (closes #10431)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59390
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 20:45:56 +0000 (20:45 +0000)]
fix typo (part of r59384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59385
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 20:45:04 +0000 (20:45 +0000)]
remove wxT() and _() macros to make the sample more readable; add File->Clear log menuitem; re-add m_container flag in MyMusicTreeModelNode and describe in a TODO/FIXME item why it's needed; warn when selecting the ninth symphony is not possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59384
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 20:40:36 +0000 (20:40 +0000)]
some more const-ification of HasEditorCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59383
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 6 Mar 2009 20:39:23 +0000 (20:39 +0000)]
comment out wxPrintf/wxLogDebug calls; fix some indentations; comment out the (debug) code explicitly crashing the application; protect with wxASSERTs the FindNode() return values, before they are dereferenced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59382
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 20:06:59 +0000 (20:06 +0000)]
use install_name_tool when cross-compiling too: it's not very useful if the build machine can't execute host binaries but it might be possible to do this (e.g. using an emulator) and it doesn't hurt anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59381
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 6 Mar 2009 19:32:07 +0000 (19:32 +0000)]
Correct minor bishaviours in Expand() and Collapse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59379
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 6 Mar 2009 19:20:25 +0000 (19:20 +0000)]
added test for wxDataViewCtrl::Expand() and ::Collapse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59378
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 6 Mar 2009 19:13:54 +0000 (19:13 +0000)]
Add new line at the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59377
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 6 Mar 2009 19:07:40 +0000 (19:07 +0000)]
Make all instances of HasEditorCtrl() const, not just a few
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59376
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 6 Mar 2009 18:52:30 +0000 (18:52 +0000)]
Initialise DC only when needed and deinitilise it properly before, fixes #10543: wxGTK wxDataViewCtrl Assert and Crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59375
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Fri, 6 Mar 2009 17:32:28 +0000 (17:32 +0000)]
Property value images are no longer shrinked horizontally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59374
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 16:31:26 +0000 (16:31 +0000)]
don't allow setting readonly combobox value to a string which is not one of the valid choices in wxGTK neither and document this behaviour (closes #10549)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59372
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Fri, 6 Mar 2009 16:26:42 +0000 (16:26 +0000)]
docs/mac is now docs/osx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59371
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 16:26:15 +0000 (16:26 +0000)]
added wxZlibStream::SetDictionary() (closes #10551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59370
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 16:13:23 +0000 (16:13 +0000)]
fix duplicate events for selection keys after the last change (see #626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59369
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 10:56:21 +0000 (10:56 +0000)]
no changes, just some minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59367
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 10:54:56 +0000 (10:54 +0000)]
only set maximal tooltip width if it's greater than the previously set one to avoid breaking long lines if a shorter tooltip is added afterwards (see #10537)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59366
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 6 Mar 2009 10:38:45 +0000 (10:38 +0000)]
pass ApplyEdit() arguments to EndEdit() too for better backwards compatibility (closes #10544)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59365
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Julian Smart [Fri, 6 Mar 2009 08:19:31 +0000 (08:19 +0000)]
Removed conflicting virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59363
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775