Commit Graph

46198 Commits

Author SHA1 Message Date
Vadim Zeitlin
93a800a95e minor icc warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:55:27 +00:00
Vadim Zeitlin
2c2944d6aa Slovenian translation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:54:17 +00:00
Jaakko Salli
3c5c6707de Allow wxPropertyGridInterface::ClearSelection() to be called with NULL state (fixes defect #10195)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-18 18:46:30 +00:00
Vadim Zeitlin
6d9407fec4 fix compilation with cppunit 1.9 (which doesn't have stdCOut()) and some harmless warnings (which probably were fixed in newer cppunit version too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-18 15:51:09 +00:00
Vadim Zeitlin
7105649b88 add header required for PCH-less mingw32 compilation (closes #10196)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-18 14:41:45 +00:00
Vadim Zeitlin
05622061c9 port updates for newer Intel compiler support from bakefile svn and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 22:29:05 +00:00
Vadim Zeitlin
fe7f0a591d use GetResolutionFromOptions() to honour wxIMAGE_OPTION_RESOLUTION and not just wxIMAGE_OPTION_RESOLUTION[XY]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:32:10 +00:00
Vadim Zeitlin
0d81b3cd93 fix bad typo in the code: wxIMAGE_OPTION_RESOLUTION option was used where wxIMAGE_OPTION_RESOLUTIONUNIT was meant (reviewing documentation is useful for finding bugs too...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:27:35 +00:00
Vadim Zeitlin
09b898e0fb document all currently defined image options and their values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:26:05 +00:00
Vadim Zeitlin
d3960469fc implement const rbegin/rend() versions (closes #3866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 14:07:51 +00:00
Vadim Zeitlin
36abe9d421 added the possibility to rescale the image during loading, especially useful with JPEGs (#8390) (change to the sample accidentally committed as r56820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:54:42 +00:00
Vadim Zeitlin
95706ac162 ignore files produced by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:52:34 +00:00
Vadim Zeitlin
01f3d2752a minor optimization: create wxTCPEventHandler only when/if we really need it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 11:24:16 +00:00
Vadim Zeitlin
ea22bf815f fix assert failure if NULL size pointer was passed to Request() (as happened in the sample...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 11:12:34 +00:00
Vadim Zeitlin
d730bd8a68 stricter reply code checking: verify that we get the expected reply, not just that we don't get IPC_FAIL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 11:08:38 +00:00
Vadim Zeitlin
e536b75069 really ensure that the pointer returned from MyConnection::OnRequest() remains valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 11:00:32 +00:00
Vadim Zeitlin
48c90c6e1e preliminary documentation of wxEventLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 09:59:33 +00:00
Paul Cornett
6739d2d24c remove obsolete macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:40:44 +00:00
Paul Cornett
75f661bbc8 simplify wxPizza a bit by always drawing the border on parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:31:19 +00:00
Paul Cornett
b7bc9d806b cleanup: unreachable code, unused variables, indentation, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:20:46 +00:00
Paul Cornett
470f357fd2 make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:20:21 +00:00
Paul Cornett
a09307abba check for self assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 18:03:08 +00:00
Vadim Zeitlin
5c69ef61f3 fix some of icc 11.0 warnings and disable a few others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 14:24:13 +00:00
Vadim Zeitlin
5bd57a7e4f fix restoration of the old font size in DoGetTextExtent() (thanks icc for a nice warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-16 14:22:09 +00:00
Francesco Montorsi
ebd75440d5 removed redundant wxClassName:: prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:49:24 +00:00
Francesco Montorsi
4ccf056633 interface fixes; removed many functions which were deprecated in past and have already been removed from wx; renamed others wrongly named; added some @onlyfor tags to avoid false warnings in ifacecheck logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:37:43 +00:00
Francesco Montorsi
6e6b083df2 avoid false warnings for wxThread and wxIPAddress
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:29:21 +00:00
Francesco Montorsi
6d52ca536a make GetPaperRect() and GetResolution() const functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 11:10:34 +00:00
Jaakko Salli
e9cc4973ff Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 10:34:36 +00:00
Jaakko Salli
77db639d44 Fixed wxPropertyGridPage::DoSetSplitterPosition() infinite recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-15 10:11:52 +00:00
Vadim Zeitlin
4311ac1ef6 do override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to happen but wasn't because of signature mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:44:59 +00:00
Vadim Zeitlin
85b6f1c431 remove unused static wxColourFromPGLong function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:32:20 +00:00
Vadim Zeitlin
9e996d8c43 remove useless comparison of unsigned value with 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:31:37 +00:00
Vadim Zeitlin
a22895511a make code dealing with wxUSE_IDLEMENUUPDATES a bit more clear and avoid warning due to use of this constant in logical boolean expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:26:55 +00:00
Vadim Zeitlin
7d6d76d093 CanPaste() should be const too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:23:16 +00:00
Vadim Zeitlin
e4513a5eae disable warning about possible misaligned access given by HP aCC as we can't do anything about it because it's triggered by all GTK+ cast macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:22:26 +00:00
Vadim Zeitlin
e81ea1070d assigning line marker to itself shouldn't invalidate it, add self-assignment check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:18:39 +00:00
Vadim Zeitlin
557946748f consistently use wxAuiPaneInfo::Has/SetFlag() instead of using bit operations on its state field directly (this results in a warning about implicit sign change from HP aCC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:12:59 +00:00
Vadim Zeitlin
62891c875f comparison of wxBitmapType with -1 is useless as it can never be true; assume wxBITMAP_TYPE_INVALID was meant here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 23:09:04 +00:00
Vadim Zeitlin
a343fe63e8 move the check for msgids matching the current language in front of everything else in AddCatalog(): why bother loading catalogs uselessly?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 19:10:10 +00:00
Vadim Zeitlin
6f0114437c assert in AddCatalog() if Init() hadn't been called and also check that we have a valid language spec in wxMsgCatalogFile::Load() to ensure we don't form invalid paths there; call Init() before AddCatalog() in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 19:06:59 +00:00
Vadim Zeitlin
f6ba36e464 consistently use ExtractLang() everywhere instead of Left/Mid wxString methods; added ExtractCountry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 18:58:12 +00:00
Vadim Zeitlin
12fd0e1d61 more Doxygen warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 18:17:21 +00:00
Vadim Zeitlin
088441b57c fix parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 08:39:42 +00:00
Robert Roebling
e9e767f1d9 #10183: patch to add wxOSX print job name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 08:18:05 +00:00
Václav Slavík
4f24cbbd3d implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 22:30:40 +00:00
Francesco Montorsi
11e3af6e7e further ifacecheck fixes (now only 3.3% of documented methods have a wrong signature\!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 21:32:53 +00:00
Robin Dunn
a70ab3b804 Set TOOLKIT_LOWERCASE correctly for the various flavors of wxOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 17:19:58 +00:00
Robert Roebling
c0b659709c #10181: wxOSX: patch for proper wxPrintData to/from native data exchange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 15:25:02 +00:00
Vadim Zeitlin
0b7dce5480 fix warnings about hiding virtual wxGraphicsContext::DrawText() overloads by using different names for the implementation functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 12:16:39 +00:00