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
Francesco Montorsi
8f13981070
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
2009-03-08 12:08:39 +00:00
Francesco Montorsi
482dce2a30
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
2009-03-08 12:05:00 +00:00
Jaakko Salli
66fb9e1241
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
2009-03-08 11:34:01 +00:00
Jaakko Salli
bd6ffa9f2b
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
2009-03-08 11:04:36 +00:00
Stefan Csomor
f2f6030e9c
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
2009-03-08 10:02:25 +00:00
Kevin Ollivier
01000cbcd5
Fix double-click support for wxListBox ( #10548 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-08 06:42:52 +00:00
Kevin Ollivier
b725fa9a8b
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
2009-03-08 06:35:58 +00:00
Kevin Ollivier
09a9eb2069
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
2009-03-08 04:15:58 +00:00
Kevin Ollivier
44ca06dd6e
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
2009-03-08 03:32:37 +00:00
Vadim Zeitlin
8b492f67ab
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
2009-03-07 23:37:51 +00:00
Vadim Zeitlin
645706a24e
support %l in wxDateTime::ParseFormat()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 19:36:59 +00:00
Vadim Zeitlin
072682ce44
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
2009-03-07 16:07:58 +00:00
Vadim Zeitlin
101b242093
add wxUSE_CONFIG checks (see #10560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 15:49:57 +00:00
Vadim Zeitlin
5345c6f18f
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
2009-03-07 15:49:32 +00:00
Vadim Zeitlin
e5cfb314ae
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
2009-03-07 15:39:09 +00:00
Vadim Zeitlin
c10c791ba9
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
2009-03-07 15:28:47 +00:00
Vadim Zeitlin
24dd7bc824
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
2009-03-07 15:16:48 +00:00
Vadim Zeitlin
ca94b1cc6e
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
2009-03-07 15:10:49 +00:00
Vadim Zeitlin
1ffe958687
compilation fix: add missing header after r59404
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 15:08:52 +00:00
Robert Roebling
8276e7803d
wxMac requires UTF-8 for wxTextDataoObject
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:54:01 +00:00
Vadim Zeitlin
18e45a88f6
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
2009-03-07 14:37:53 +00:00
Vadim Zeitlin
42af6685ae
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
2009-03-07 14:27:06 +00:00
Vadim Zeitlin
9be5555cde
use wxLog::Log() instead of ugly cast
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:25:38 +00:00
Vadim Zeitlin
03511e1596
suppress wxLog::DoLog() and DoLogString() hiding warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:23:31 +00:00
Robert Roebling
f0b31a4b7a
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
2009-03-07 14:09:01 +00:00
Vadim Zeitlin
47e105413f
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
2009-03-07 14:07:45 +00:00
Vadim Zeitlin
fad4327b0d
add wxUSE_CONFIG guard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 14:03:45 +00:00
Vadim Zeitlin
0576cd9ebe
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
2009-03-07 13:58:39 +00:00
Robert Roebling
fdb45ab7e9
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
2009-03-07 13:46:28 +00:00
Robert Roebling
636c8dabc6
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
2009-03-07 13:33:27 +00:00
Robert Roebling
f5d5909691
Correct define
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-07 12:11:17 +00:00
Kevin Ollivier
7e9d3e1e9f
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
2009-03-07 04:20:52 +00:00
Kevin Ollivier
c2a4d42831
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
2009-03-07 04:19:26 +00:00
Francesco Montorsi
9113ffaf56
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
2009-03-06 23:42:06 +00:00
Robert Roebling
d02852036d
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
2009-03-06 23:30:54 +00:00
Francesco Montorsi
c9c59db7d6
wxDataViewColumn derives from wxSettableHeaderColumn, not from wxHeaderColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 22:57:03 +00:00
Francesco Montorsi
ce468dc28b
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
2009-03-06 22:56:27 +00:00
Francesco Montorsi
f453d7eada
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
2009-03-06 22:45:00 +00:00
Francesco Montorsi
98b04f2112
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
2009-03-06 22:36:03 +00:00
Francesco Montorsi
caa4f8ff5c
fix typo (part of r59384)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 20:45:56 +00:00