Commit Graph

45580 Commits

Author SHA1 Message Date
Jaakko Salli
614fbbad61 wxPropertyGrid::RegisterEditorClass() now CHECK_MSG()s for duplicate editor names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:29:05 +00:00
Jaakko Salli
adea524493 Use wxPropertyGridEventHandler in commented-out sample connect code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:17:21 +00:00
Jaakko Salli
0dc44cac21 Use wxUSE_LONGLONG_NATIVE more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:13:12 +00:00
Jaakko Salli
effb029c30 wxPropertyGridInterface docs cleanup and fixes, removed some rarely needed member functions with simple workarounds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 15:09:33 +00:00
Jaakko Salli
7a344f1be4 Fixed wxPGMultiButton (event handling, FinalizePosition() -> Finalize(), no longer using PG specific class macros in its sample), other editors.h interface fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 14:03:10 +00:00
Jaakko Salli
7ce66351b7 Fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 13:13:08 +00:00
Francesco Montorsi
18e8e19b94 more fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 12:29:33 +00:00
Francesco Montorsi
adaaa68635 HUGE commit of ifacecheck-automated fixes to virtualness/constness/staticness of wxWidgets documented functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 11:21:10 +00:00
Francesco Montorsi
e7d0a28b01 final w*h interface header reviews
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 10:59:01 +00:00
Francesco Montorsi
75bc3a0d80 give a name to wxZlib enums to make it easier to document them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 10:58:15 +00:00
Francesco Montorsi
a18d02ecd2 add wxPosixPermissions enumeration; it provides more readable synonims for wxS_I* flags and makes it easier to document which flags can be used in wxFile functions and wxFileName::Mkdir (and in future wxFileName::Chmod); part of commmit 55908
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 10:28:43 +00:00
Francesco Montorsi
f41d6c8cd7 add wxPosixPermissions enumeration; it provides more readable synonims for wxS_I* flags and makes it easier to document which flags can be used in wxFile functions and wxFileName::Mkdir (and in future wxFileName::Chmod)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 10:27:44 +00:00
Vadim Zeitlin
5fed01a943 fix VC9 compilation: FileNameInfo identifier conflicts with an enum name in the SDK it uses, so rename it to TestFileNameInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 09:20:10 +00:00
Jaakko Salli
d9fb481c56 Fixed and clarified editor control event handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 18:20:17 +00:00
Vadim Zeitlin
f9ec0ea7c5 eliminate the hysteresis when scrollbars didn't disappear when the window was resized to be less than its virtual size and then resized back to be slightly greater than it in the native GTK version too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 17:36:57 +00:00
Vadim Zeitlin
3d9ecb8771 eliminate the hysteresis when scrollbars didn't disappear when the window was resized to be less than its virtual size and then resized back to be slightly greater than it in the native GTK version too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 17:36:35 +00:00
Vadim Zeitlin
b5f85206a9 fix ParseFormat("%d") to set the date it finds (#10002)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:27:08 +00:00
Vadim Zeitlin
06936905a4 using CLSCTX_ALL fails with Microsoft Office applications, correct the last change to use CLSCTX_SERVER only (see #9868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:18:16 +00:00
Vadim Zeitlin
0a17f5b6b5 tried to make umask comment make more sense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 13:46:45 +00:00
Vadim Zeitlin
3e7cf80922 Brian Ravnsgaard Riis slave added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 00:23:05 +00:00
Michael Wetherell
6e27d75daa Configure a second Windows build and give the slave a new name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 00:19:56 +00:00
Vadim Zeitlin
468432091b update from Laurent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 00:10:38 +00:00
Vadim Zeitlin
caf587aaeb don't give errors if SetLayeredWindowAttributes() is not available (as is the case under Win95)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 21:41:47 +00:00
Francesco Montorsi
e25cd7750c w*h interface revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 21:31:45 +00:00
Francesco Montorsi
674d80a76f final f*h interface header reviews
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 20:00:31 +00:00
Francesco Montorsi
0b70c946a3 more f*h interface file revisions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 19:15:28 +00:00
Francesco Montorsi
cfaf8bd177 fix for non-PCH builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 18:36:16 +00:00
Francesco Montorsi
43e0946dcf build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 18:20:18 +00:00
Francesco Montorsi
5c3a762d49 revisions by Utensil Candel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 18:14:44 +00:00
Francesco Montorsi
0ef5b1dad1 provide backward-compat wxCursor(int) ctor; remove empty stubs of XBM ctor from all ports except gtk,motif; make all ports emit wxLogError on invalid bitmap types; implement wxCursor(const wxString&, ...) ctor on GTK (not tested yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:56:07 +00:00
Jaakko Salli
5a8009d2f1 Removed wxPropertyGridManager::GetChildrentCount() member functions - now use page->GetRoot()->GetChildCount() and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 17:23:54 +00:00
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