Commit Graph

47960 Commits

Author SHA1 Message Date
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
Francesco Montorsi
ecad59d882 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
2009-03-06 20:45:04 +00:00
Francesco Montorsi
fca0d8b506 some more const-ification of HasEditorCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 20:40:36 +00:00
Francesco Montorsi
c2489d8e6d 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
2009-03-06 20:39:23 +00:00
Vadim Zeitlin
ddd121d7b6 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
2009-03-06 20:06:59 +00:00
Robert Roebling
7d83595849 Correct minor bishaviours in Expand() and Collapse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 19:32:07 +00:00
Robert Roebling
d2ee27fe25 added test for wxDataViewCtrl::Expand() and ::Collapse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 19:20:25 +00:00
Robert Roebling
4931e96a36 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
2009-03-06 19:13:54 +00:00
Robert Roebling
220bfe1596 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
2009-03-06 19:07:40 +00:00
Robert Roebling
874edbb70e 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
2009-03-06 18:52:30 +00:00
Jaakko Salli
4aee83345e 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
2009-03-06 17:32:28 +00:00
Vadim Zeitlin
a3281dbc1c 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
2009-03-06 16:31:26 +00:00
Kevin Ollivier
f5fd8c2434 docs/mac is now docs/osx.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 16:26:42 +00:00
Vadim Zeitlin
51acf83bd6 added wxZlibStream::SetDictionary() (closes #10551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 16:26:15 +00:00
Vadim Zeitlin
aa8166dd51 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
2009-03-06 16:13:23 +00:00
Vadim Zeitlin
8c4209f7b3 no changes, just some minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 10:56:21 +00:00
Vadim Zeitlin
d90ef8e4c2 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
2009-03-06 10:54:56 +00:00
Vadim Zeitlin
78e7881208 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
2009-03-06 10:38:45 +00:00
Julian Smart
d35146fa5d Removed conflicting virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 08:19:31 +00:00
Francesco Montorsi
bc4f1ff265 Indentation/coding style adjustments.
Make the columns resize when dragging the columns in the header control intercepting the EVT_HEADER_RESIZING event

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 00:05:05 +00:00
Francesco Montorsi
8af28fabff fix crash when using wxDataViewListStore::DeleteAllItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-06 00:01:11 +00:00
Vadim Zeitlin
bfb9ad8b60 2nd (blind) fix for VC6 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 23:41:27 +00:00
Kevin Ollivier
b0ec7fbb8f Fill out the left and top fields as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 22:54:02 +00:00
Kevin Ollivier
ee29c3dff5 Make about dialog non-modal on GTK/Mac and don't show the OK button on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 21:54:08 +00:00
Francesco Montorsi
cf3fd63e38 do not use HDS_FLAT by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 21:47:59 +00:00
Kevin Ollivier
a905992cf7 Sheet support for wxDirDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 21:21:45 +00:00
Kevin Ollivier
b2c47ad3f8 Don't use result for both NS and wx button ID values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 21:20:57 +00:00
Kevin Ollivier
ba41a8c629 Sheet support for wxMessageDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 21:20:05 +00:00
Kevin Ollivier
037f9d3ba3 Fix for sheets based on NSAlert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 21:19:40 +00:00
Kevin Ollivier
c973763629 Fix typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 19:22:02 +00:00
Kevin Ollivier
540f444554 Make sure we call SetEventObject before firing events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 19:21:32 +00:00
Kevin Ollivier
16747764fb Make wxStaticText for OS X Cocoa properly size multiline strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 19:20:36 +00:00
Kevin Ollivier
724999ee87 Use sheets for native file dialogs if the dialog has its parent set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 19:19:28 +00:00
Bryan Petty
cecbc293c7 Updated wxWidgets icons in art to use the new official logo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 18:20:38 +00:00
Vadim Zeitlin
25f701e632 don't use WPARAM in the header (build fix after r59336)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 16:32:56 +00:00
Julian Smart
6738c4724a Don't set a large minimum size for both panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 15:54:50 +00:00
Julian Smart
cdfd5e0166 Prevent splitter sash being set below minimum size when moved
(using the same minimum size for both windows is probably a bad design choice)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 15:44:01 +00:00
Vadim Zeitlin
c7d9c476ea fix multiple problems with selection in controls with wxTR_MULTIPLE style (closes #626)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 14:13:19 +00:00