Commit Graph

12205 Commits

Author SHA1 Message Date
Jaakko Salli
0d4884cbf3 Unfocus text editor when enter is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 16:24:21 +00:00
Jaakko Salli
d8c74d044b Use m_children as it were std::vector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 15:13:00 +00:00
Benjamin Williams
7bce84396e applied patch from ticket 10015; wxToolBar compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-01 10:42:50 +00:00
Václav Slavík
cf78bdcb68 added wxTaskBarIcon::IsAvailable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 20:54:02 +00:00
Jaakko Salli
f7a094e1af Converted various wxArrayPtrVoids to wxVectors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 17:23:27 +00:00
Jaakko Salli
7eaed395dd Fixed Connect() use sample case in CreateControls() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:50:31 +00:00
Jaakko Salli
28fb19ef29 Try to make SetupChildEventHandling() more foolproof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 16:33:43 +00:00
Jaakko Salli
47e343c6bf Added missing dllimpexp declaration, added missing GetFailureBehavior() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 15:36:52 +00:00
Robert Roebling
0ca422ef4c Move body of SetFocusOnCanvas to .cpp file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-30 07:15:40 +00:00
Jaakko Salli
a6f2417d81 SetPropertyValue(prop, wxChar*) -> (prop, char*) and (prop, wxchar_t*)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:04:38 +00:00
Jaakko Salli
020b004113 Moved wxPropertyGrid::SetPropertyName() to wxPropertyGridInterface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 17:01:04 +00:00
Jaakko Salli
704ceca8d2 Removed wxPG_EX_LEGACY_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:52:57 +00:00
Jaakko Salli
9891e165c5 Added missing wxPGValidationInfo::SetFailureMessage() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:34:07 +00:00
Jaakko Salli
458917e8de Removed wxPropertyGridEvent::HasProperty() (use GetProperty() != NULL instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:31:27 +00:00
Jaakko Salli
2a8312bced Make wxPGValidationInfo class instead of struct, re-document it (used at least by derived wxPGProperty::ValidateValue())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:23:38 +00:00
Jaakko Salli
6b03a638a4 Doc and comment cleanup, fixes, tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 16:07:00 +00:00
Vadim Zeitlin
7929902d65 no real changes, just fixed all occurences of 'occurence' typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 12:10:58 +00:00
Vadim Zeitlin
d80170bd4d extact common GAddress declarations to the common header instead of duplicating them for Windows and Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 17:37:01 +00:00
Vadim Zeitlin
8ac36abb0f move check for wxUSE_IPV6 being defined to wx/chkconf.h where it belongs; reformatted/indented socket addresses classes declarations without really changing them (to avoid having unrelated changes in the upcoming commits)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 17:24:09 +00:00
Václav Slavík
12ca55868c wxGTK: Fixed printing to use fonts sizes adjustment consistent with wxMSW. In
particular, screen resolution no longer affects text size in printed output
when using wx's map-screen-to-paper approach to printing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-28 09:33:04 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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