Commit Graph

48070 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
6bec9d5013 fix total breakage of all fonts in wxMSW caused by r57542 which changed the value of wxSystemFont enum elements in spite of the comment saying not to do this right above it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 14:09:37 +00:00
Vadim Zeitlin
03dfc8f515 set svn properties correctly for the new files (please use the auto-props!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 14:00:46 +00:00
Vadim Zeitlin
a4991d4333 (blind) fix for VC6 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 13:58:12 +00:00
Vadim Zeitlin
a95f37bc57 PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 12:46:40 +00:00
Kevin Ollivier
2d6aa9197f Ensure that WriteText moves the selection to the end and scrolls to the end, and implement EVT_TEXT_ENTER for NSTextField.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 05:43:59 +00:00
Kevin Ollivier
b480b80a27 Fix comparison operator for functions keys (fixes #10547).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 05:23:25 +00:00
Francesco Montorsi
de4bf0b305 improve look of wxDataViewCtrl and of its renderer on wxMSW when windows XP themeing is not used (wxRendererXP::DrawItemSelectionRect implementation is ok also for wxRendererMSW; share the code).
Fix a typo in the drawing code for horizontal rules in wxDataViewCtrl.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-05 00:36:17 +00:00
Kevin Ollivier
826da45133 Ensure we get mouse moved events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 23:34:52 +00:00
Francesco Montorsi
8bf6f04451 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 23:23:28 +00:00
Francesco Montorsi
81c3f0fce3 all code revisited.
Main additions:
- now it's possible to change the DVC style dynamically
- make models more robust against deleting items, and against other allowed user actions
- comment portions of the code to make it more didactive

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 22:33:18 +00:00
Francesco Montorsi
14f73cf1da some docs enhancements, in particular to wxDataViewListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 21:06:21 +00:00
Jaakko Salli
e777bd14b3 By default, always refresh editor and redraw properties when property value is changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:53:34 +00:00
Kevin Ollivier
aa960026e6 Don't always set the titled mask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:09:24 +00:00
Bryan Petty
8a606bb006 More wxWindows -> wxWidgets updates (mostly URLs and mailing list addresses).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 19:04:46 +00:00
Francesco Montorsi
bf19b714f0 reorganize the sample splitting it in two source files and an additional header; most important: don't tile all the controls into the main frame: it becomes too big; rather use a notebook control to properly layout them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 17:21:40 +00:00
Francesco Montorsi
d6e329cfbc build fix; document HasFeature() (should be part of r59313)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 15:53:55 +00:00
Francesco Montorsi
425ec0a5a3 no real change: just reorder the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 15:23:56 +00:00
Francesco Montorsi
a4d291f0ab remove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there: GetStockObject(DEFAULT_PALETTE) returns a palette and not a font; so the resulting wxFont is wrong.
Expand and correct documentation for various system constants.
Provide wxSYS_COLOUR_FRAMEBK as a synonym for wxSYS_COLOUR_BTNFACE as it is the colour which must be used to make wxFrame background coherent with the background of the controls they (eventually) contain.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 15:19:58 +00:00
Francesco Montorsi
076218c2a9 add headers to the samples' bakefiles so that they show up in MSVC project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 11:47:32 +00:00
Francesco Montorsi
9e27ff7519 revert addition of the simple listctrl; it doesn't help.
Log the version of comctl32.dll under wxMSW; it's useful when reporting bugs or when debugging

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 11:39:13 +00:00
Jouk Jansen
7a8b7e04af inserting missing include for non PCH-build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-04 07:42:42 +00:00
Kevin Ollivier
08c1b1340d More fixes for clickCount... even sometimes when respondsToSelector returned true we'd get a crash, so only check clickCount for up and down events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 23:23:51 +00:00
Francesco Montorsi
c83d207b76 clarify the list of bitmap handlers natively supported.
Clarify that wxBitmap::AddHandler isn't useful to the final user; wxImage::AddHandler should be used instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 23:10:13 +00:00
Jaakko Salli
8c5c56e201 Remove unneeded workaround for a ScrolledWindow issue that is now fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 21:17:36 +00:00
Jaakko Salli
ed9e243d58 Remove wxEnumProperty::ms_prevIndex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 21:04:08 +00:00
Francesco Montorsi
f1f688c84d update the list of samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 20:57:58 +00:00
Vadim Zeitlin
1146927789 use ldlibs, not ldflags, for wx-config --libs output in gnu format as well as in autoconf one to ensure that the libraries appear at the end of the linker command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 19:20:44 +00:00
Julian Smart
6d595f3d7a Don't crash if no scrollbar
Force wxVSCROLL in wxRTC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 13:12:52 +00:00
Vadim Zeitlin
87ebb0b789 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:24:20 +00:00
Vadim Zeitlin
55410bb4f6 fix wxGTK1 compilation after wxTextEntry DoGetValue() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:21:35 +00:00
Vadim Zeitlin
417943bf06 fix virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:21:03 +00:00
Vadim Zeitlin
d1b8a7430f fix virtual function hiding warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-03 09:20:11 +00:00
Francesco Montorsi
834fcdd949 ProcessPendingEvents() is now in wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 21:14:01 +00:00
Vadim Zeitlin
063fcdc78d don't generate non-MSVC makefiles for MSVC-only samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:49:00 +00:00
Francesco Montorsi
8e40ed8535 move pending event processing back to wxApp (these methods were moved into wxEventLoopBase during YieldFor() refactoring - see #10320): we need to be able to queue events even when there's no event loop running (e.g. wxApp::OnInit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:45:22 +00:00
Vadim Zeitlin
805c8d92b9 wxOSX build fix for wxRichTextCtrl after wxTextEntry::GetValue() renaming to DoGetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:43:12 +00:00
Francesco Montorsi
d7612120de remove references to datetime_constants; they're not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:41:08 +00:00
Kevin Ollivier
7da00c46e1 Land the rest of the changes made by a rebake after r59067.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:11:39 +00:00
Francesco Montorsi
191e43fd02 revert r59246; the window parameter was there by purpose (i.e. for consistency with other Get* methods -- even if unused); document what the win parameter does in the various wxRenderer::Get* methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 20:09:10 +00:00
Vadim Zeitlin
00c89b2207 another wxOSX build fix after wxTextEntry::GetValue() renaming to DoGetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-02 19:28:44 +00:00