]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Fri, 14 Nov 2008 23:32:20 +0000 (23:32 +0000)]
remove unused static wxColourFromPGLong function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56775
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 14 Nov 2008 23:31:37 +0000 (23:31 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 23:26:55 +0000 (23:26 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 23:23:16 +0000 (23:23 +0000)]
CanPaste() should be const too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56772
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 14 Nov 2008 23:22:26 +0000 (23:22 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 23:18:39 +0000 (23:18 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 23:12:59 +0000 (23:12 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 23:09:04 +0000 (23:09 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 19:10:10 +0000 (19:10 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 19:06:59 +0000 (19:06 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 18:58:12 +0000 (18:58 +0000)]
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
Vadim Zeitlin [Fri, 14 Nov 2008 18:17:21 +0000 (18:17 +0000)]
more Doxygen warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56763
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 14 Nov 2008 08:39:42 +0000 (08:39 +0000)]
fix parameter name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56762
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Fri, 14 Nov 2008 08:18:05 +0000 (08:18 +0000)]
#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
Václav Slavík [Thu, 13 Nov 2008 22:30:40 +0000 (22:30 +0000)]
implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56757
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Thu, 13 Nov 2008 21:32:53 +0000 (21:32 +0000)]
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
Robin Dunn [Thu, 13 Nov 2008 17:19:58 +0000 (17:19 +0000)]
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
Robert Roebling [Thu, 13 Nov 2008 15:25:02 +0000 (15:25 +0000)]
#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
Vadim Zeitlin [Thu, 13 Nov 2008 12:16:39 +0000 (12:16 +0000)]
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
Vadim Zeitlin [Thu, 13 Nov 2008 12:04:17 +0000 (12:04 +0000)]
no changes, just deTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56752
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 12 Nov 2008 15:58:56 +0000 (15:58 +0000)]
use -Woverloaded-virtual if g++ supports it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56751
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 12 Nov 2008 15:41:38 +0000 (15:41 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 15:38:54 +0000 (15:38 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 15:37:01 +0000 (15:37 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 15:31:44 +0000 (15:31 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 14:40:28 +0000 (14:40 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 14:36:21 +0000 (14:36 +0000)]
added self-assignment check to wxListItem::operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56745
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 12 Nov 2008 14:34:40 +0000 (14:34 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 14:32:28 +0000 (14:32 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 14:29:44 +0000 (14:29 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 11:55:44 +0000 (11:55 +0000)]
rebake after r56738
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56740
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 12 Nov 2008 11:54:41 +0000 (11:54 +0000)]
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
Vadim Zeitlin [Wed, 12 Nov 2008 11:18:54 +0000 (11:18 +0000)]
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
Vadim Zeitlin [Mon, 10 Nov 2008 23:55:01 +0000 (23:55 +0000)]
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
Vadim Zeitlin [Mon, 10 Nov 2008 23:06:44 +0000 (23:06 +0000)]
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
Francesco Montorsi [Mon, 10 Nov 2008 21:33:25 +0000 (21:33 +0000)]
other ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 10 Nov 2008 20:12:36 +0000 (20:12 +0000)]
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
Vadim Zeitlin [Mon, 10 Nov 2008 16:44:39 +0000 (16:44 +0000)]
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
Vadim Zeitlin [Mon, 10 Nov 2008 14:30:41 +0000 (14:30 +0000)]
compilation fix after wxFont changes (closes #10152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56726
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 10 Nov 2008 14:08:38 +0000 (14:08 +0000)]
Added wxChoice renderer to wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56725
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 10 Nov 2008 14:01:56 +0000 (14:01 +0000)]
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
Francesco Montorsi [Sun, 9 Nov 2008 16:49:52 +0000 (16:49 +0000)]
fix VC6 broken for variable scope handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56721
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 16:46:52 +0000 (16:46 +0000)]
ifacecheck manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56720
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 16:44:56 +0000 (16:44 +0000)]
use wxEventType coherently with the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56719
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 16:30:50 +0000 (16:30 +0000)]
more intelligence to avoid false warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56718
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 15:36:36 +0000 (15:36 +0000)]
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
Francesco Montorsi [Sun, 9 Nov 2008 15:20:49 +0000 (15:20 +0000)]
fix typo: s/SetTimestamp/DisableTimestamp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56716
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 9 Nov 2008 12:34:21 +0000 (12:34 +0000)]
use global operator new to fix compilation errors if type T overloads new (as wxObject does with wxUSE_MEMORY_TRACING)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56714
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 9 Nov 2008 11:33:12 +0000 (11:33 +0000)]
another wxFont OS2 blind build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56713
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Nov 2008 22:41:10 +0000 (22:41 +0000)]
fix race condition which could result in assert failures in debug builds and infinite loops in release (#9094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56712
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 15:25:07 +0000 (15:25 +0000)]
ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56708
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 15:17:16 +0000 (15:17 +0000)]
ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56707
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 15:01:00 +0000 (15:01 +0000)]
use wxFrameNameStr where possible instead of 'frame' string (for coherence with all other wxWidgets frame classes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56705
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 14:38:36 +0000 (14:38 +0000)]
generate the output gcc XML file always in the same folder where 'rungccxml.sh' script is placed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56704
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 14:04:27 +0000 (14:04 +0000)]
do not halt gccXML because wxUSE_ACCESSIBILITY, even if it's being used under linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56703
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sat, 8 Nov 2008 12:56:32 +0000 (12:56 +0000)]
blind fix based on buildbot logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56702
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 8 Nov 2008 00:06:34 +0000 (00:06 +0000)]
release the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during e.g. a cell selection operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56701
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 7 Nov 2008 22:50:33 +0000 (22:50 +0000)]
Finnish translations update from Elias Julkunen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56698
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Fri, 7 Nov 2008 19:07:33 +0000 (19:07 +0000)]
fix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56696
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Bryan Petty [Fri, 7 Nov 2008 00:47:35 +0000 (00:47 +0000)]
Prevent activation of the AUI hint window (mini frame) on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56695
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 6 Nov 2008 23:31:26 +0000 (23:31 +0000)]
check for NULL pointer in IsExtensionInList()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56692
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Thu, 6 Nov 2008 18:05:09 +0000 (18:05 +0000)]
Removed property editor validation failure assertions when implicitly clearing selection. Added relevant notes into documentation of member functions that previously asserted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56690
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Michael Wetherell [Thu, 6 Nov 2008 12:15:31 +0000 (12:15 +0000)]
Temporarily disable the email notifications as we're getting false ones from
the Windows slave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56688
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Thu, 6 Nov 2008 08:12:48 +0000 (08:12 +0000)]
changing depricated font-family enums into current ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56687
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 5 Nov 2008 15:27:34 +0000 (15:27 +0000)]
document wxRESIZE_BORDER side effect under Windows (see #9989)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56684
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Wed, 5 Nov 2008 12:35:43 +0000 (12:35 +0000)]
inserting generic mdi for OpenVMS Motif support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56683
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Wed, 5 Nov 2008 12:27:08 +0000 (12:27 +0000)]
romoving motif-mdi for OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56682
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 5 Nov 2008 10:08:19 +0000 (10:08 +0000)]
add command line options for displaying the test name and time taken by them (closes #10156)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56681
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Wed, 5 Nov 2008 10:01:45 +0000 (10:01 +0000)]
remove Motif MDI files not used any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56680
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 12:15:24 +0000 (12:15 +0000)]
disable the test under Windows as it hangs and prevents buildbot from working
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56678
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 12:11:30 +0000 (12:11 +0000)]
include wx/menu.h as we delete wxMenu pointer in this header (and creating a separate .cpp file just to move the code doing it there seems impractical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56677
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 02:46:19 +0000 (02:46 +0000)]
Review/simplify/cleanup MDI classes for all platforms and introduce base
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.
Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56674
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 4 Nov 2008 01:42:33 +0000 (01:42 +0000)]
fix wxXPMDataHandler silently broken by long->wxBitmapType change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56673
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 22:58:45 +0000 (22:58 +0000)]
added wxrc to the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56672
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 21:55:03 +0000 (21:55 +0000)]
include richtext library in BUILT_WX_LIBS (in particular so that it appears in 'wx-config --libs all' output) if it's being built
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56671
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 19:32:23 +0000 (19:32 +0000)]
build fix (the sample uses an undocumented function of wxFont)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56670
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 18:50:41 +0000 (18:50 +0000)]
build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56669
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 18:24:05 +0000 (18:24 +0000)]
build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56668
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 18:15:03 +0000 (18:15 +0000)]
build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56667
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 17:24:51 +0000 (17:24 +0000)]
don't crash trying to draw buttons with invalid bitmaps (the real fix would be to avoid adding them to the toolbar in the first place, of course...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56666
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 17:10:21 +0000 (17:10 +0000)]
fix (harmless) unused variable warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56665
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 17:02:25 +0000 (17:02 +0000)]
fix the incoherence pointed out by ifacecheck between wx docs, that documents usage of the wxFontFamily, wxFontStyle and wxFontWeight enums in wxFont setters and getters, and the actual sources, which use 'int' instead; provided the same backward-compatibility pattern already used for wxBrush,wxPen both against 'int' overloads and against the wxDeprecatedGUIConstants enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56664
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jaakko Salli [Mon, 3 Nov 2008 17:02:04 +0000 (17:02 +0000)]
Moved Get/SetPropertyText/BackgroundColour() member functions from wxPropertyGrid to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56663
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 14:37:14 +0000 (14:37 +0000)]
remaining h* interface header revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56662
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 13:36:08 +0000 (13:36 +0000)]
define wxHAS_CONFIG_TEMPLATE_RW if template wxConfig::Read/Write() are available; use it to exclude the calls to these functions from the test to fix VC6 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56661
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 12:47:56 +0000 (12:47 +0000)]
wx/tls.h belongs to base headers, not core (#10148)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56660
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 12:44:07 +0000 (12:44 +0000)]
define operator<<(wxLongLong_t) for VC6 whether wxUSE_STD_IOSTREAM is 0 or 1 (fixes test compilation in the latter case)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56659
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Mon, 3 Nov 2008 11:57:07 +0000 (11:57 +0000)]
fixed doxygen warnings produced by the ifacecheck fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56658
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 01:11:59 +0000 (01:11 +0000)]
blind fix for yet another VC6 compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56657
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Mon, 3 Nov 2008 00:31:16 +0000 (00:31 +0000)]
really fix VC6 compilation of all testsi (without breaking VC9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56656
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 22:30:16 +0000 (22:30 +0000)]
undo the previous change, it's not needed any more now that we overload assertEquals(int,long) too and it broke VC6 compilation again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56652
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Francesco Montorsi [Sun, 2 Nov 2008 22:16:14 +0000 (22:16 +0000)]
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macros; in the process, change wxPropGrid window classes to take 'const wxString& name' arguments instead of 'const wxChar *name'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56651
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Stefan Csomor [Sun, 2 Nov 2008 19:13:54 +0000 (19:13 +0000)]
make sure virtual method isn't inlined away
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56650
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:43:11 +0000 (02:43 +0000)]
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:39:52 +0000 (02:39 +0000)]
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:34:12 +0000 (02:34 +0000)]
add yet another overload of assertEquals to fix another compilation error due to using different types inside CPPUNIT_ASSERT_EQUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56643
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:16:32 +0000 (02:16 +0000)]
remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56642
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 02:16:09 +0000 (02:16 +0000)]
remove tests for bool and {const,static,reinterpret}_cast in configure and wx/defs.h, all supported compilers have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56641
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:59:34 +0000 (01:59 +0000)]
explicitly cast wxUniCharRef to char inside CPPUNIT_ASSERT_EQUAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56640
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 2 Nov 2008 01:58:14 +0000 (01:58 +0000)]
added propgrid sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56639
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775