Commit Graph

46376 Commits

Author SHA1 Message Date
Francesco Montorsi
af237ae405 add GetValue,GetRange and GetMessage helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:35:24 +00:00
Vadim Zeitlin
07acc3cc57 replace asserts in XRC code with wxLogError/Warning() calls as XRC can come from an external source and doesn't necessarily indicate a programming error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:23:22 +00:00
Vadim Zeitlin
e2517f176b add support for creating drop down toolbar buttons from XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:11:54 +00:00
Vadim Zeitlin
cffff062b3 no changes, just added a TODO comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:10:58 +00:00
Vadim Zeitlin
2291f2f1b7 show the use of check and radio items in the toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:56:09 +00:00
Francesco Montorsi
6496345c33 document the main event table macros, wxEventType, wxNewEventType; create a new group_funcmacro_events group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:34:09 +00:00
Francesco Montorsi
c7e52709fc fix #4754 providing better description of how to set an event handler for (popup) wxMenu instances
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:31:16 +00:00
Jouk Jansen
17dd542b49 Update OpenVMS compile support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 15:39:14 +00:00
Vadim Zeitlin
b3483429d4 compilation fix for wxStrlcpy use in STL Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 15:31:12 +00:00
Vadim Zeitlin
707aaf17c0 better documentation for wxEvent ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 12:00:55 +00:00
Francesco Montorsi
fde96a2fec document wx[US]Char and wxStringCharType typedefs; in docs for wxS() specify better that it makes wide strings under UTF16 builds and narrow strings under UTF8 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 22:20:39 +00:00
Francesco Montorsi
8ef2a553af initial declaration of wx*Char*Buffer and wxUniChar* classes (need someone more experienced to document the various methods)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 22:09:47 +00:00
Francesco Montorsi
7b8b73042c add 'redirection page' for wxULongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 21:37:43 +00:00
Francesco Montorsi
22f241327d add @deprecated tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 21:19:16 +00:00
Francesco Montorsi
ea82506581 remove wxNotebookSizer; it's not in wx anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 21:18:34 +00:00
Francesco Montorsi
40f343d2a0 committing the slightly-modified patch by R.U.10 for documenting some public functions of wxDocTemplate (closes #10078)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 17:54:57 +00:00
Francesco Montorsi
64dd265011 adding a new topic overview about writing custom widgets; currently there's no official guide...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 17:46:20 +00:00
Francesco Montorsi
edbcb09440 use sections and an initial TOC like all other overviews
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 17:44:53 +00:00
Francesco Montorsi
ea2a647d38 put wxURI under networking group, next to wxURL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 17:44:27 +00:00
Paul Cornett
150a349a4f fix for uninitialized alpha being used to create mask, fixes wxMemoryDC with 32-bit bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 02:03:38 +00:00
Francesco Montorsi
74dda7b23b create better QCH files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 01:13:01 +00:00
Vadim Zeitlin
e7ae8a69ea demonstrate column reordering -- currently it demonstrates that it's completely broken in various and interesting ways
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 00:23:34 +00:00
Vadim Zeitlin
84c144785b don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 00:13:21 +00:00
Vadim Zeitlin
8acad210fa don't make wxGridTableBase::IsEmptyCell() pure virtual, there is really no point to force all derived table classes to implement it when it has a default implementation which works just fine in 99% of cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:51:51 +00:00
Vadim Zeitlin
24973882e4 removed small and tabular grid tests which didn't seem to do anything useful (will replace the latter with a test of column reodering soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:13:46 +00:00
Francesco Montorsi
435c1bc4d2 document default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 14:46:07 +00:00
Vadim Zeitlin
ebaa7e48fe really fix the typo in the message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:53:13 +00:00
Francesco Montorsi
0a29d575ca typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:49:56 +00:00
Vadim Zeitlin
8d00e34735 fix typo in new wxVector(size_t, T) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 03:49:02 +00:00
Vadim Zeitlin
579213e97b compilation fix after making wxSocketImpl derive from wxFDIOHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:52:14 +00:00
Vadim Zeitlin
ceef3893cb replace the mismatched new[]/delete (bug #10234) with a wxVector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:30:58 +00:00
Vadim Zeitlin
664e5ff93e add wxVector(size_t size[, const value_type& value]) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:28:44 +00:00
Vadim Zeitlin
d9698bd4ac cleanup the Win32 window classes registration code: remove global variables and register the window classes we use on demand to avoid registering MDI or GL classes unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 22:19:55 +00:00
Vadim Zeitlin
12b661cd1e more updates after r57026 change to app.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 15:05:01 +00:00
Vadim Zeitlin
5dec01d469 update after r57026 change to app.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 15:03:28 +00:00
Vadim Zeitlin
d2fa187325 get rid of CE-specific code for class name registration, the unique instance enforcement should be implemented by using wxSingleInstanceChecked if it's really necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:59:21 +00:00
Vadim Zeitlin
0e2ad3233b don't reuse the double click handled in activation event handler for toggling the item (#9761)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:49:47 +00:00
Vadim Zeitlin
49ac39e3f4 correct CalcSizeFromPage() for multiline notebooks (#2335)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:47:02 +00:00
Vadim Zeitlin
e408bf5257 add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 14:41:02 +00:00
Vadim Zeitlin
56ce942b62 don't use wxChar arrays and wxStrncpy (especially as the latter was used incorrectly) in Mac-specific type/creator code, just use wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:51:09 +00:00
Vadim Zeitlin
601a5d6e72 properly NUL-terminate the string when using strncpy() (#10230)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 13:43:32 +00:00
Francesco Montorsi
339cfab649 add GetSize also to wxGDIImage since wxBitmap under some ports derives from wxGDIImage and not from wxBitmapBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-29 00:24:57 +00:00
Francesco Montorsi
36d0c79521 fix wrong placement of the @apperance tag previously committed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 23:48:58 +00:00
Francesco Montorsi
7a9a204e09 remove @appearance tag from abstract classes; add the missing screenshots of some controls to wxGTK image folder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 23:16:24 +00:00
Francesco Montorsi
1bf045456f fix crash caused by cancelling querybitmap dialog; fix crash caused by clicking 'add widget icons' on an empty bitmapcombobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:32:00 +00:00
Francesco Montorsi
c74b07ac26 provide GetSize() getters in wxBitmap and wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:29:29 +00:00
Francesco Montorsi
60b71826d6 return wxDefaultSize (as done in all other platforms) when the combo box is empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 21:50:22 +00:00
Vadim Zeitlin
f3fe2d4ecb remove wxVSCROLL from wxMessageDialog style (left over from prior experiments)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 20:59:52 +00:00
Francesco Montorsi
11dd61cb3d move style table in the detailed description like for all other interface headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:33:37 +00:00
Francesco Montorsi
b860ca4ce7 restore correct doctype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 19:29:14 +00:00