Commit Graph

26779 Commits

Author SHA1 Message Date
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
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
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
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
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
Jouk Jansen
aced1133b1 declaration of sendevent should be equal in grid.cpp and grid.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-12 06:25:42 +00:00
Vadim Zeitlin
fa3987efdb fixed wxRadioBox positioning to take the client area origin into account; also simplified the code to avoid duplication with the base class version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-11 21:54:34 +00:00
Robert Roebling
35d85392ff Reapplied some previous patches that got lost while merging the Cocoa implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-11 11:28:55 +00:00
Vadim Zeitlin
b293b4d364 don't assume that we use timer proc with WM_TIMER as we don't any more (since r60296) (closes #10764 for trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 23:10:20 +00:00
Stefan Csomor
4aa9349437 commenting out uncompilable code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 20:35:32 +00:00
Vadim Zeitlin
d34f724d42 don't check for connected state of UDP sockets which are never connected (closes #10717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 17:26:35 +00:00
Vadim Zeitlin
4f73f25cc8 don't use GetParent() in GetParentForModalDialog() itself as it can be called before m_parent is initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 16:55:37 +00:00
Stefan Csomor
465eba1483 adapting to new font method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 14:45:03 +00:00
Vadim Zeitlin
64be91ed99 don't call Disconnect() if the connection had been already lost (closes #10747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 13:19:59 +00:00
Vadim Zeitlin
7172db1857 initialize the local address before calling getsockname() on it (closes #10779)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 13:07:21 +00:00
Vadim Zeitlin
b6e96faf3e remove unneeded wxFindSuitableParent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:57:00 +00:00
Francesco Montorsi
8602802568 add new predefined colour (and relative brush/pen): wxYELLOW (closes #10669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:40:09 +00:00
Francesco Montorsi
ef6cef09d4 build fix for gcc4.3.3 (different types for arguments of ?: operator)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:32:26 +00:00
Vadim Zeitlin
9fb0eb4679 remove another occurrence of FindSuitableParent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:31:16 +00:00
Vadim Zeitlin
8bda0ec6a3 remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhere; extend it with additional checks and remove redundant ones elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:26:15 +00:00
Vadim Zeitlin
889e742216 set wxWS_EX_TRANSIENT flag for splash screen to prevent it from being implicitly used as dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:22:45 +00:00
Vadim Zeitlin
5d4ee50b0a corrections to setting the height of the visible part of wxChoice after recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-08 19:45:31 +00:00
Robert Roebling
e86edab05b Add wxDataViewCtrl implementation for OSX/Cocoa (closes #10617: wxDataView for wxOSX-Cocoa)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-08 17:07:50 +00:00
Vadim Zeitlin
3df31b2d6e remove error message from wxCSConv initialization: there is no easy way to suppress it and no way to test if the encoding is supported so rely on calling code using IsOk() itself if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-08 16:38:39 +00:00
Vadim Zeitlin
326462ae94 add support for loading wxListCtrl items and wxImageLists from XRC (closes #10647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 17:29:57 +00:00
Vadim Zeitlin
c84d0c864a generate the click event from the button with correct id if SetEscapeId() was called instead of always using wxID_CANCEL (closes #10746)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 17:09:21 +00:00
Stefan Csomor
14ca15f12b first stab at having webkit under osx_cocoa working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 18:22:04 +00:00
Paul Cornett
ab0c29ae95 draw focus rect for wxCheckListBox item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 16:04:20 +00:00
Paul Cornett
6efda5fda4 fix off-by-one size of wxCheckListBox item draw rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 15:51:09 +00:00
Paul Cornett
7ac1b576c4 build fixes for wxUSE_CONFIG==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-06 03:08:33 +00:00
Václav Slavík
d0f063020e use <bitmapsize> to load bitmaps at the specified size in wxToolBar's XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 18:23:04 +00:00
Václav Slavík
5f3dc0f0a9 fixed deadlock when posting events from another thread to wxDFB (patch from #10408 by Anders Larsen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-05 16:09:40 +00:00
Vadim Zeitlin
9df05aab59 don't duplicate wxGetTopLevelParent() code in wxHtmlHelpController::FindTopLevelWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-04 10:23:52 +00:00
Francesco Montorsi
2003d0037f fix placement of wxStaticBox contents also under wxMSW, when using the (new) approach (i.e. when creating wxStaticBox contents as children of the staticbox itself, instead of as siblings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 22:27:48 +00:00