Commit Graph

45549 Commits

Author SHA1 Message Date
Jaakko Salli
9288df3401 AddPage(), InsertPage() now return page ptr instead of index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:19:49 +00:00
Jaakko Salli
0f457f4de2 Reduce ambiguity of selection functions in wxPropertyGridManager, make them better match for wxPropertyGrid ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:11:02 +00:00
Jaakko Salli
b96a14e334 Removed wxPGProperty:GetArrIndex() in favor of GetIndexInParent()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:04:11 +00:00
Jaakko Salli
0d6e0565c6 Removed redundant wxPGChoices::Set()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:02:46 +00:00
Jaakko Salli
47ea393a24 Removed redundant wxPGProperty::SetChoices()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:00:49 +00:00
Vadim Zeitlin
c09b7217f6 don't test for both stream.fail() and stream.bad() as the latter implies the former; also use operator!() instead of fail() to make it more clear what's going on
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:50:48 +00:00
Jaakko Salli
2399c87cce Slightly better wxStockCursor usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:31:01 +00:00
Vadim Zeitlin
e58eaff761 specify the file name in IO errors messages; also make Do{Open,Save}Document() use the same logic flow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:27:22 +00:00
Jaakko Salli
1802a91dec Fixed bug: Settings property attribute to wxNullVariant would cause GetAttribute() to fail (wxPG SourceForge bug #2128485)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:13:32 +00:00
Jaakko Salli
81d73efcc3 Fix wxCursor() ctor compilation by casting argument to wxStockCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:11:58 +00:00
Robin Dunn
fa70ec2b51 Consolidate old and new implementations of Get/SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:10:27 +00:00
Robin Dunn
e4a0fe083d remove another SWIG #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 16:08:36 +00:00
Jaakko Salli
7de050ad3f Fixed bug: wxPGProperty::OnEvent() was never called if primary editor window was NULL (as could be if limited editing was used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:59:49 +00:00
Robin Dunn
aadca0d5ac Revert last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:34:44 +00:00
Vadim Zeitlin
c4dbb95303 fix parsing of IP literals in URIs, added test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:27:10 +00:00
Vadim Zeitlin
c3a65218fb introduced more convenient and readable URI_ASSERT_XXX_EQUAL() macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:08:01 +00:00
Francesco Montorsi
c0e97a5ec4 small changes to fix doxygen warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:07:25 +00:00
Francesco Montorsi
23b7f0cbd0 more revisions of f*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:03:38 +00:00
Vadim Zeitlin
bd84061db3 removed hardcoded size of 66 bytes of PRINTDLG struct for mingw32, this breaks printing under Win64; a couple of minor style fixes but no real changes otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:00:15 +00:00
Francesco Montorsi
1dfb6ff0af fix many doxygen warnings; added wxMotif section in platdetails (at the very least to fix warnings about missing page_port_wxmotif section) with its logo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 13:39:27 +00:00
Francesco Montorsi
f4efd805a0 small build fixes for PCH-less builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 09:56:22 +00:00
Stefan Csomor
fc39cf7295 avoiding crash for pure modifier events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 06:37:09 +00:00
Robin Dunn
dd021ce2bd More changes needed to fix problems resulting from unnecessary wxCursor changes :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 05:00:52 +00:00
Robin Dunn
3a571037fe Install kbdstate.h and mousestate.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 01:53:43 +00:00
Kevin Ollivier
4954ee5032 Get wxMediaCtrl stub impl. going for OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 00:02:52 +00:00
Kevin Ollivier
f53c4d3b88 Remove some wxCocoa stuff that isn't in OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 00:01:59 +00:00
Kevin Ollivier
95710acb00 #ifdef Carbon-specific code to get stubbed DND support compiling for OS X Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:53:25 +00:00
Robin Dunn
8852798bcd Fix OpenGL test on OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:46:14 +00:00
Robin Dunn
e6ba38871f Unicode-related compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:44:34 +00:00
Robin Dunn
5879b22eeb Ignore the DECLARE_*()'s when swigging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:43:03 +00:00
Robin Dunn
544cd5ac17 Fix wxStockCursor realted compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:41:25 +00:00
Francesco Montorsi
4707b84cd0 ifacecheck fixes to c*.h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 23:29:43 +00:00
Francesco Montorsi
95eee7ea38 made internal members of wxColourData public again; added a comment warning users to not use them directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 22:10:26 +00:00
Francesco Montorsi
2cb3a02f1a make m_strDefaultValueForCmp always non-empty; this simplifies the code; fix wxMethod::GetAsString() not to use wxType::GetAsCleanString for return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 21:58:56 +00:00
Vadim Zeitlin
75eec3adfb still define wxADJUST_MINSIZE when WXWIN_COMPATIBILITY_2_8 is 1 because it was defined (even if as just 0) in 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:51:08 +00:00
Francesco Montorsi
6869b469c6 fix build errors deriving from making wxColourData members private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 20:21:36 +00:00
Francesco Montorsi
d4f392ea20 use wxStockCursor (as documented and as already implemented in wxMotif) instead of a plain 'int'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 19:40:13 +00:00
Michael Wetherell
54590cb078 Initial commit for Laurent Humbertclaude's Windows slave.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 18:03:04 +00:00
Francesco Montorsi
c40555e948 made internal members of wxColourData private; they were not documented to be public BTW so there should be no backward-compatibility issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:58:49 +00:00
Francesco Montorsi
d62c1e628d changed wxColourData::GetCustomColour to const; there's no reason for it to be non-const; fixed wxColourData iface header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 17:57:18 +00:00
Vadim Zeitlin
d86901f9f4 return false, not true, from wxSingleInstanceChecker::IsAnotherRunning() if an error occurred while opening or reading the lock file (#9986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:47:41 +00:00
Vadim Zeitlin
7ce2fb7139 reverted r55167, see #9854
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:38:53 +00:00
Vadim Zeitlin
13139e9300 restore the original selection when the dropdown is cancelled even if it was -1; this fixes the problem of #9995 and the existing code didn't deal correctly with the problem of losing current text in the combobox when the dropdown was cancelled anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:33:06 +00:00
Vadim Zeitlin
e57337cec3 document Connect(host, port) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 13:16:17 +00:00
Stefan Csomor
fbd5416f60 supporting GetSize, fixes #9969
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-24 09:18:38 +00:00
Jaakko Salli
bb6720bb9e Document revisioning (including more wx-like formatting and internal function removal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 17:37:27 +00:00
Jaakko Salli
24588cd306 Remove obsolete references to 'target page' concept
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:38:49 +00:00
Jaakko Salli
40924780ea Remove doc references to 'common value' (which is unfinished feature)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 15:35:32 +00:00
Stefan Csomor
01a33e9670 fixing compiles under certain flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-23 10:00:53 +00:00
Vadim Zeitlin
07bfacf3a6 copied and pasted 2.8.9 change log section (was there anything there that didn't apply to trunk?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 22:42:17 +00:00