Commit Graph

48742 Commits

Author SHA1 Message Date
Vadim Zeitlin
e5033ed2f1 initialize wxDocChildFrameAnyBase before creating the real window to ensure that event handling is set up properly before the first events for the new window are received (closes #10825)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 22:46:18 +00:00
Vadim Zeitlin
ec86c7ce41 no real changes, just remove unneeded empty dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:54:09 +00:00
Vadim Zeitlin
5c3313a968 return the correct number of columns from wxGridStringTable, even when we don't have any rows (closes #10818)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:53:32 +00:00
Vadim Zeitlin
3e603cb713 fix unused parameter warning after r60715
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:37:05 +00:00
Vadim Zeitlin
46743ff8e5 don't clear the status bar help text if the wxEVT_MENU_HIGHLIGHT event was processed by user code (see #10822)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 19:25:10 +00:00
Vadim Zeitlin
f724f440fd implement wxGetActiveWindow() which is now used by wx itself (closes #10809)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 18:14:40 +00:00
Vadim Zeitlin
c65c67beba allow 2 step creation of wxDocChildFrameAnyBase and derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-22 14:02:07 +00:00
Julian Smart
17547f0fe9 COrrected my misapplied fix, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-21 10:17:35 +00:00
Vadim Zeitlin
283965f0b3 don't use m_useProxy if !wxUSE_PROTOCOL_HTTP (see #10815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 23:02:21 +00:00
Vadim Zeitlin
c475468896 compilation fix in FindPaperType() after latest change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 22:58:08 +00:00
Julian Smart
331dbb617f Avoid resetting size if paper id not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:18:21 +00:00
Vadim Zeitlin
3cc5704485 do allow calling Hide() on the window before it is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:16:53 +00:00
Julian Smart
09e02fc7a2 Fixed invisible CHM tooltip text bug when window text colour is black.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:16:17 +00:00
Julian Smart
3c46da4231 Added a comment about DMPAPER_USER not always working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 13:08:32 +00:00
Julian Smart
186b445c7f Fixed a problem with unrecognised paper id conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-20 11:56:49 +00:00
Vadim Zeitlin
86c30bc557 added Asturian language entry (see #10808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-19 10:51:11 +00:00
Vadim Zeitlin
541aafe2fa disable a test failing under wxGTK because of what appears to be a Pango limitation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 14:12:28 +00:00
Vadim Zeitlin
3f7c8a8762 use a different known good face name under non-MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 14:01:38 +00:00
Vadim Zeitlin
a15239a6fd correct test failures under MSW, it shouldn't assume that all predefined fonts have non-empty facenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 11:52:26 +00:00
Vadim Zeitlin
c56fc0dc30 correct test failures under MSW, it shouldn't assume that all predefined fonts have non-empty facenames; also simplified it by separating different tests in different functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 11:51:09 +00:00
Vadim Zeitlin
d508a9d979 deal with fonts with empty face name correctly in wxNativeFontInfo::FromString(): the last token may be empty, just check that it is present at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 11:48:48 +00:00
Vadim Zeitlin
1a2ca1d673 deal with the fonts without any specified face name in wxNativeFontInfo::To/FromUserString() correctly by using the family as fallback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 11:47:08 +00:00
Vadim Zeitlin
09be33645a fix errors in EvtHandlerTestCase::BindFunctor() in optimized build: apparently compiler is smart enough to detect that the same object can be used for all temporaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 10:56:14 +00:00
Vadim Zeitlin
24a21a5f1d do not overwrite ms_{hwnd,className} in wxTimerHiddenWindowModule::OnInit() in case they were already initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-17 09:58:14 +00:00
Francesco Montorsi
a4afdcf342 fix typo from previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-16 13:24:33 +00:00
Francesco Montorsi
df344ba9df (dirty) fix rendering upon startup of the surface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-16 10:57:25 +00:00
Francesco Montorsi
d6764050d8 fix the wxCursor(const wxString& cursor_file, ...) ctor by reusing wxImage ctor; fix doxygen rendering of that ctor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-16 10:42:48 +00:00
Václav Slavík
0ed6c93314 fixed typo in error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-16 05:22:51 +00:00
Vadim Zeitlin
d8a7829312 move virtual GetPath() implementation out of line to work around an apparent Fedora g++ 4.x bug (see #10791)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 18:02:41 +00:00
Václav Slavík
f9dcd25dbc simplified code now that utf8_str() always returns a scoped buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 13:06:23 +00:00
Julian Smart
50283a5142 Added background colour control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 11:20:38 +00:00
Václav Slavík
6c4a2734d8 set icons bundle instead of single icon for wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 08:17:23 +00:00
Stefan Csomor
faa88eb768 applying, closes #9012
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-15 04:32:36 +00:00
Julian Smart
1cdb63aa80 Corrected event routing/id change bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 12:40:54 +00:00
Benjamin Williams
6fea4cdbff in wxAuiToolBar, make certain that IsChecked() returns correct value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-14 10:31:00 +00:00
Vadim Zeitlin
53998e70cd don't use empty attribute name in wxIconXmlHandler too (should have been part of r60624)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 22:29:11 +00:00
Vadim Zeitlin
9c1d2aa29c fix handling of wxBitmap nodes broken by previous changes; remove the special case of passing empty attribute name to GetBitmap/Icon(wxString) and use the overload taking wxXmlNode directly instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 21:54:30 +00:00
Bryan Petty
07e6fc431d Small build and run fixes made to screenshotgen util after wxMSW changes.
Updated wxOSX (Carbon) screenshots in the manual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 19:19:01 +00:00
Bryan Petty
35b04374da Replaced dir control screenshot in the manual with one that doesn't have personal info in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 18:40:11 +00:00
Bryan Petty
0b4ddd818a Updated wxMSW screenshots in the manual generated with a default Windows font sizes, theme, and locale.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 18:34:10 +00:00
Bryan Petty
5f1b5e83c4 Removed dependancy on wx/bitmap.h from autocapture.h.
Fixed issue with Union() improperly generating a combined bitmap from two source bitmaps (only shown on Mac).
Replaced old wxWidgets logo with the new one.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 18:30:06 +00:00
Vadim Zeitlin
b5d9d763f7 remove misleaing mentions of wxEXEC_ASYNC from wxExecute() overloads always executing synchronously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 16:22:31 +00:00
Vadim Zeitlin
f7f068364f compare wxMessageDialog::ShowModal() return value with wxID_YES, not wxYES (closes #10789)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 08:41:44 +00:00
Stefan Csomor
ebcd855cc9 missing classinfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 07:51:30 +00:00
Stefan Csomor
94b4dd5499 add window-modal dialog calls and fallback implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 07:01:51 +00:00
Stefan Csomor
f62a3b6a53 files are replaced by dataview implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 19:56:21 +00:00
Vadim Zeitlin
3cd9070c78 Cygwin doesn't have std::wstring nor std::wostream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 17:08:45 +00:00
Vadim Zeitlin
53e34ee6fa VC6 compilation fix (thanks buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 14:10:06 +00:00
Vadim Zeitlin
f5c1b76c1c add missing wxUSE_DEFERRED_SIZING tests (closes #10766)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 12:22:42 +00:00
Vadim Zeitlin
4942b4bf20 ignore MSVC workspace/solution files in these directories too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 10:13:23 +00:00