Commit Graph

35534 Commits

Author SHA1 Message Date
Vadim Zeitlin
3e85973919 prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:05:20 +00:00
Vadim Zeitlin
9f30729a03 don't reset the selection after event was vetoed if there is no old selection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 21:00:07 +00:00
Vadim Zeitlin
e32bcef6e7 added tests for setting the cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:26:59 +00:00
Michael Wetherell
73dd8b2deb Implement wxIsPlatform64Bit().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 20:24:08 +00:00
Michael Wetherell
38a097f588 Missing exports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 19:35:46 +00:00
Vadim Zeitlin
20f4b56686 fix compilation both for Robert's cross-compiler and for all normal compilers by just removing the offending m_item initialization line which is unnecessary anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 18:07:40 +00:00
Vadim Zeitlin
27dee9ae02 try to deal more gracefully (than simply not showing anything at all) with invalid UTF-8 strings (e.g. ISO-8859-1 strings inserted in controls with default (UTF-8) font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:50:10 +00:00
Włodzimierz Skiba
a6e8c584db WinCE build fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 17:43:42 +00:00
Włodzimierz Skiba
8394f0a06b Follow OnOK changes in wxDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:33:28 +00:00
Włodzimierz Skiba
99713fe395 After adding check to wx/mgl/chkconf.h for UNIV flag, our regex needs this flag delivered by makefiles (with rebaking).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 16:08:21 +00:00
Włodzimierz Skiba
1d29ae8b5d Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:40:00 +00:00
Włodzimierz Skiba
09fe7dc672 Avoid conflict between new transparency API and old background support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 15:37:25 +00:00
Włodzimierz Skiba
374e9b153f Blind wxTinderbox fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:52:50 +00:00
Włodzimierz Skiba
b41b2a052a wx\settings.h is part of PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:47:18 +00:00
Włodzimierz Skiba
803c61bf2d Keep wxPalmOS buildable - wxIcon and wxCursor moved to generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:43:20 +00:00
Włodzimierz Skiba
e56880a0ef Keep wxPalmOS buildable - event table moved to base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:35:48 +00:00
Włodzimierz Skiba
b4ea182b39 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:33:43 +00:00
Włodzimierz Skiba
cdbce971ec Keep wxPalmOS buildable - missing functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 14:27:41 +00:00
Robert Roebling
85a0a12a9c Added resize support to wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 11:08:42 +00:00
Robert Roebling
c67e060d09 Suppress warning from wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 10:01:40 +00:00
Robert Roebling
c4d3971185 revert bits for XBM bitmaps under MSW
adapt XBM usage in wxAUI to this logic


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:54:36 +00:00
Robert Roebling
e1b1b6be56 Reenable inversion code again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 09:35:06 +00:00
Stefan Neis
27875fd021 Removed no longer needed "DECLARE_EVENT_TABLE()" completing the previous change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 07:36:37 +00:00
Paul Cornett
a7cfe08aff allow white as mask color when creating mask from mono bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 04:41:45 +00:00
Paul Cornett
f9562c6b2d correct access for virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-24 04:41:29 +00:00
Robert Roebling
6d976005cf Use the same colour for miniframe title bar and
wxAUI title bars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:36:26 +00:00
Robert Roebling
ff03f56707 Use close button used in wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:08:43 +00:00
Robert Roebling
00e4ffbc23 Readded close button to wxMiniFrame and use the
close XBM similar to the one used in Anjuta's
    docking library.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 21:07:33 +00:00
Robert Roebling
ba938d0788 Comment out suspicious 1-bit bitmap conversion
which happens to break wxAUI (its close button).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 20:01:34 +00:00
Václav Slavík
86766dfdad fixed HTML colours parsing after patch #1473731 ('wxColourBase and wxString <-> wxColour implementation') broke it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 19:07:15 +00:00
Robert Roebling
f8a1394935 Comment out direction aware code for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 18:22:03 +00:00
Vadim Zeitlin
dad0c6d322 clarified LeftIsDown() behaviour for left click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 15:11:35 +00:00
Robert Roebling
d02d8b4c27 Add opaque move support to wxGTK's wxMiniFrame.
Use it in wxAUI (much less flicker and frame
    activation problems). wxMiniFrame and the
    Docked panes in wxAUI should use the same
    code to draw titlebar etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 14:02:53 +00:00
Vadim Zeitlin
c959d91228 documented wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:47:22 +00:00
Vadim Zeitlin
0463eea95d allow passing URL to wxURLDataObject ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:38:45 +00:00
Vadim Zeitlin
0d91b2342a respect the encoding of the text style and not only the global control font encoding when inserting the text in the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:33:04 +00:00
Vadim Zeitlin
7581272214 no real changes, just use IsSingle/MultiLine() insteadof testing m_windowStyle directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 13:04:05 +00:00
Robert Roebling
322c5ec4c0 Added direction sensitive docking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 11:17:13 +00:00
Václav Slavík
dbfa7f339c compilation fix for !wxUSE_BUTTON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:45:51 +00:00
Václav Slavík
452b624353 set wxUSE_TOOLBAR_NATIVE to 0 when --enable-universal is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 10:15:43 +00:00
Václav Slavík
27cc91429d removed wxUSE_TOOLBAR_SIMPLE leftovers from the main sources, it's not used anywhere anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 09:54:29 +00:00
Robin Dunn
59b7a28003 pass useMask=true for the toucan images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 02:35:06 +00:00
Robin Dunn
1d1972fce1 Premultiply the alpha on wxMSW in the BitmapFromBuffer* functions so
the programmers don't have to worry about it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:52:20 +00:00
Robin Dunn
0dcc6f2287 Add BitmapFromBuffer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:49:28 +00:00
Robin Dunn
c7deb4ab80 Always create the pixmap with an alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:18:27 +00:00
Robin Dunn
8ef089485c Show use use of both wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:17:02 +00:00
Robert Roebling
0ae3bace9b Skip double size events.
Skip movements of floating pane when moving fast.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:47:50 +00:00
Robert Roebling
e65fbef69d Set size of hint window before showing it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:37:15 +00:00
Robert Roebling
1417c81163 Forgot this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 22:14:23 +00:00
Michael Wetherell
82a2636b8c Switch to AC_CHECK_DECLS instead of WX_CHECK_DECLS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 21:55:01 +00:00