Commit Graph

13948 Commits

Author SHA1 Message Date
Vadim Zeitlin
63fd5f0b27 added missing semicolons after asserts (patch 567853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 15:26:35 +00:00
Vadim Zeitlin
fa1fcc6642 fixed infinite loop in wxCursor(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 14:12:19 +00:00
Vadim Zeitlin
1a685a59a0 fixed a warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 14:12:00 +00:00
Vadim Zeitlin
b8723d939f typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 14:05:15 +00:00
Julian Smart
5cdeff757d Added HTML About box and changed player dialog label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 13:19:08 +00:00
Chris Elliott
d04d32c4ec removing bitmaps from mdi sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 11:56:01 +00:00
Václav Slavík
bd0a577993 updated wxXRC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 10:33:21 +00:00
Julian Smart
879da8c81b Applied recent FL patches from Benjamin Williams <biwilliajsb@yahoo.com>.
1) There is a problem
in that floating frames are not currently supported
with !mRealTimeUpdates.  We wrote a patch to correct
this problem.  You will find it attached to this
posting.

Here is a description of what was changed and why.  In
cbBarDragPlugin::ShowHint(), SetBarState is called
every time mpCurPane changes.  This is correct.
However, this also happens every time, even if
mRealTimeUpdates is false.  The state should not be
changed during the drag operation if mRealTimeUpdates
is off.  This is corrected in this patch.  Code was
also added in cbBarDragPlugin::OnLButtonUp() to
actually do the state changing, only if
mRealTimeUpdates is off.  Normally, this is performed
in ShowHint if mRealTimeUpdates is on.

I also took the liberty of changing the drag cursor
back to an arrow.  This is the way it is in MS Visual
C++, and it looks way better.  The MoveWindow cursor
looks terrible, IMHO.  When FL gets the embedded
cursor code working, we can switch back to a hand or
something else.


2) This time we have
discovered a crash bug in FL.  The steps to reproduce this
bug are as follows:

1. Open up a pane, dock it.
2. Click the Expand button (arrow button) in the
   frame hints portion
3. Click it again to Collapse the pane.
4. Now click the close button of the pane. Crash.

We investigated what was causing this problem, and it turns
out that the button state never gets unset.  Once a button
is pressed, it is always pressed.  Thus, when the expand/
collapse button is pressed, and then the close button is
pressed, the pane will close, but then FL will also try to
expand or collapse the pane as well, because it thinks that
the expand/collapse button was set.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 08:29:12 +00:00
Julian Smart
93692400d0 Initialise font family when initializing from native font, since this
is otherwise uninitialised (the font family is taken from the ref data and
not the native font data).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-11 22:07:38 +00:00
Mattia Barbon
d1f2dc804c Check for attributes before copying them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 17:58:08 +00:00
Vadim Zeitlin
678ebfcdae attempts to fix wxMimeTypesManager mess: many bugs (entries priority, memory leaks, ...) fixed, but probably even more left
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-10 15:59:34 +00:00
Robert Roebling
1ec3a9848a Moved wxCharhookEvent so that it sends the same
keycode as wxCharEvent.
  Removed wxDestroyWindowEvent as it crashes all
   the time.
  Corrcted wxTreeCtrl's interception of wxCharEvents
   as it misinterpreted "F5" for "Z" e.g.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 23:02:58 +00:00
Vadim Zeitlin
78a189c97f added _T()s around the literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 22:19:24 +00:00
Mattia Barbon
459e74ba69 Update taskbar.h to use DECLARE/DEFINE_EVENT_TYPE; fixes an runtime error
with MinGW and (probably) Cygwin.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 19:24:21 +00:00
Vadim Zeitlin
70a5eef8f1 reenabled WS_EX_CONTROLPARENT style together with a check that the focus window is not disabled or hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 21:32:36 +00:00
Vadim Zeitlin
224b1f5cf1 don't link in libwx_gtk twice when linking apps using OpenGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 18:43:21 +00:00
Vadim Zeitlin
9475670f13 typo in dir enum test code fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 18:30:27 +00:00
Julian Smart
285edb24ec Use standard IDC_HELP cursor instead of oversize custom cursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 17:36:27 +00:00
Vadim Zeitlin
15ad98b742 compilation fix (for !PCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 15:11:49 +00:00
Vadim Zeitlin
1e2a653bec no changes (reformatted some code just to be able to read it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:37:03 +00:00
Vadim Zeitlin
dc429f89a6 fixed wxScrolledWindow::SetScrollbars() which was broken by the virtual size changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 23:36:36 +00:00
Vadim Zeitlin
d42e3d592b restored inline for wxCriticalSection methods for !MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:46:44 +00:00
Vadim Zeitlin
b33911eef0 added thrimpl.cp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:26:55 +00:00
Vadim Zeitlin
a64c3b74b6 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:26:14 +00:00
Vadim Zeitlin
76484b2495 patch 562893: bug in dll makefile.b32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:17:06 +00:00
Vadim Zeitlin
9f6fe2886f fixed bug in wxStrstr() replacement implementation (part of patch 565031)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:04:37 +00:00
Vadim Zeitlin
f5e2134e5b don't include winsock.h directly, this doesn't work (patch 565655)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 21:00:19 +00:00
Vadim Zeitlin
d86ab8e29f fixed text ctrl tooltips (patch 562210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:45:43 +00:00
Vadim Zeitlin
0d5f3790d9 CW compilation fix (patch 562701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:41:48 +00:00
Vadim Zeitlin
bf43d750e6 fix tree icon refresh after collapsing a branch (patch 565294)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:39:22 +00:00
Vadim Zeitlin
2edb0bdef6 applied typos and spelling error fixes patch from Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 20:15:28 +00:00
Vadim Zeitlin
f06ef5f4a3 more MIME tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 19:56:57 +00:00
Julian Smart
76df57d24e Removed 'inline' which was causing unresolved symbols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 18:32:06 +00:00
Václav Slavík
bfc4a1c1ef wxMGL requires wxUSE_PALETTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 17:56:53 +00:00
Václav Slavík
0280ab6e8e updated wxMGL's wxExecute signatures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 17:56:15 +00:00
Robin Dunn
802e3a187b Patch #565656, fix for compilers without precomp headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 16:52:57 +00:00
Robin Dunn
0154a29737 Fixed bug that showed a small gap on the wxStaticBox when the label
string was empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 15:40:49 +00:00
Julian Smart
8f2a41e964 Added USE_SIMPLE_HELP_PROVIDER symbol to help demo so we can test
wxSimpleHelpProvider under Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 08:47:39 +00:00
Robin Dunn
1b7a14e44d Only catch double click on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 05:39:15 +00:00
Vadim Zeitlin
4562f6852f added wxCRITICAL_SECTION macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:56 +00:00
Vadim Zeitlin
efdc61a680 fixed glibc 2.1 detection test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:34:01 +00:00
Robin Dunn
b8510c2f40 minor tweaks and discuss unicode build in win32 build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 00:19:39 +00:00
Vadim Zeitlin
526b8142e1 make the incremental kbd search wrap to the beginning if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:37:52 +00:00
Robert Roebling
ad9fb0334f Dislaying popup tip windows seems to work right now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:35:51 +00:00
Vadim Zeitlin
0b74b736a6 marked the most important backwards incompatible changes with an exclamantion sign
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:18:06 +00:00
Robin Dunn
c8c000ef52 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 19:17:50 +00:00
Robin Dunn
b3887715e4 Fix for compilation error in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:50:36 +00:00
Robin Dunn
c198d57c3a Switch back to not using wxPopupWindow since wxMSW's version can't
handle it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:36:03 +00:00
Vadim Zeitlin
9e84b84742 wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 18:31:59 +00:00
Robin Dunn
b0e5c03934 Added wxPyWindow and wxPyControl which are just like their wx
counterparts except they allow some of the more common C++ virtual
methods to be overridden in Python derived classes.

Changed wxGenButton to derive from wxPyControl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-06 17:37:38 +00:00