Commit Graph

46285 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
caa42c43d0 no changes, just deTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 12:04:17 +00:00
Vadim Zeitlin
411484436d use -Woverloaded-virtual if g++ supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:58:56 +00:00
Vadim Zeitlin
53263fdff9 remove SO_SUFFIX from configure, this is handled by bakefile since many years and keeping this here is just confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:41:38 +00:00
Vadim Zeitlin
29faf9c604 use = in test, not == which is not standard and not understood by all shells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:38:54 +00:00
Vadim Zeitlin
970a5babf7 use correct shared library extension for HP-UX on ia64 [forward port from the next bakefile version]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:37:01 +00:00
Vadim Zeitlin
e61c1fef6e fix large files support for HP-UX v11: we need _LARGEFILE_SOURCE there; OTOH don't use _LARGE_FILES everywhere as it's only needed under AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 15:31:44 +00:00
Vadim Zeitlin
9b3eb4aa61 fix warning about hiding the base class LoadFile()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:40:28 +00:00
Vadim Zeitlin
17520c84b3 added self-assignment check to wxListItem::operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:36:21 +00:00
Vadim Zeitlin
83666e9909 added check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a genuinely useful warning) and also changed it return type to the standard one instead of void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:34:40 +00:00
Vadim Zeitlin
d31d30d791 there is no sqrt(int) in standard C++ (although glibc seems to provide it); select sqrt(double) explicitly to fix HP-UX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:32:28 +00:00
Vadim Zeitlin
6286f3c8fc remove consts from casts which don't do anything except provoking HP aCC warnings; also removed useless occurrences of inline keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 14:29:44 +00:00
Vadim Zeitlin
9c3e8460de rebake after r56738
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 11:55:44 +00:00
Vadim Zeitlin
825dbe24d0 fix the dependencies directory name for traditional Unix compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 11:54:41 +00:00