Francesco Montorsi
b31eaa5c34
make wxStatusBarPane a 'full class' with getters and protected data; document it; provide more accessors in wxStatusBar ( closes #10574 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 17:54:05 +00:00
Francesco Montorsi
bff248644e
wxMSW and wxPalmOS already had the wxFont(const wxSize&...) ctor; don't duplicate it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-15 16:42:05 +00:00
Francesco Montorsi
b5791cc7af
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
2009-03-15 16:28:33 +00:00
Václav Slavík
819559b2ac
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
2009-03-15 10:29:14 +00:00
Francesco Montorsi
387e72bad6
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
2009-03-14 23:59:21 +00:00
Vadim Zeitlin
98fa068e79
compilation fix for Watcom (see #10576 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-14 23:26:39 +00:00
Francesco Montorsi
6547c6bad7
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
2009-03-14 19:20:03 +00:00
Francesco Montorsi
732d8c74f8
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
2009-03-14 13:57:51 +00:00
Francesco Montorsi
72a9034bd4
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
2009-03-14 13:28:28 +00:00
Francesco Montorsi
5a0a15cf56
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
2009-03-14 01:24:45 +00:00
Stefan Csomor
8e88e9846a
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
2009-03-13 18:43:46 +00:00
Václav Slavík
2bb9a404fb
added wxXmlResource::LoadAllFiles()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-13 13:26:46 +00:00
Julian Smart
95835bc453
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
2009-03-13 09:22:23 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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