Commit Graph

46170 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
79f0c45dc4 remove lines containing nothing but spaces: this is a (fatal) syntax error for HP-UX make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-12 11:18:54 +00:00
Vadim Zeitlin
0e82d27088 use explicit global scope for a couple of more occurrences of new
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 23:55:01 +00:00
Vadim Zeitlin
18415eb5ca use base class copy ctor in wxPGCell and wxPGChoiceEntry copy ctor implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 23:06:44 +00:00
Francesco Montorsi
0a98423eb0 other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 21:33:25 +00:00
Francesco Montorsi
2ecc77d53e update screenshots using the default theme for Windows XP (looks more modern than current Win98-like style); screenshots generated by Utensil Candel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 20:12:36 +00:00
Vadim Zeitlin
eb7b690a4f fix yet another VC6 compilation error because of loop variable reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 16:44:39 +00:00
Vadim Zeitlin
5a2c086adf compilation fix after wxFont changes (closes #10152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:30:41 +00:00
Robert Roebling
7448d67c49 Added wxChoice renderer to wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:08:38 +00:00
Vadim Zeitlin
2985d7b76c fix another VC6 compilation error because of loop variable reuse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:01:56 +00:00
Francesco Montorsi
0a1bce698f fix VC6 broken for variable scope handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:49:52 +00:00
Francesco Montorsi
a44f3b5a89 ifacecheck manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:46:52 +00:00
Francesco Montorsi
c9c1faa490 use wxEventType coherently with the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:44:56 +00:00
Francesco Montorsi
e2d1c0e72b more intelligence to avoid false warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 16:30:50 +00:00
Francesco Montorsi
7f8fae980f fix VC6 builds by removing variadic macros; use standard wxLogXXX functions instead, together with a new wxLog-derived target to print everything on stdout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 15:36:36 +00:00
Francesco Montorsi
bce9df55c7 fix typo: s/SetTimestamp/DisableTimestamp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-09 15:20:49 +00:00