Commit Graph

13966 Commits

Author SHA1 Message Date
Vadim Zeitlin
aad65f130d new wxASSERT implementation using wxAssert() helper function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:37:43 +00:00
Vadim Zeitlin
b7b35e5063 blind fix for latest mingw32 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 19:09:24 +00:00
Vadim Zeitlin
1c25d24586 blind fix for latest mingw32 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:51:01 +00:00
Vadim Zeitlin
dc84437ea2 fix link of wxDateTime inline methods using mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:46:39 +00:00
Vadim Zeitlin
d070606729 fixed buglet in wxWindow::GetPosition docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 18:12:36 +00:00
George Tasker
aaf0836c8b Enhanced the DataTypeSupported() function to show the native data type name that is being automatically used by the wxODBC class column types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 17:51:56 +00:00
George Tasker
ff294e0eba Added a wxASSERT_MSG in ::SetColDefs() to trap for the user sending an index that is larger than the number of columns defined for the table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 17:48:40 +00:00
Robin Dunn
4ece0694e1 Added code (currently disabled) to show putting a wxGLCanvas on a panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 16:57:18 +00:00
Robin Dunn
d58a80fae0 Patch #568403
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 16:51:53 +00:00
Stefan Csomor
ad816ba539 adapted to new ..internal structure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 07:04:46 +00:00
Robin Dunn
0815db2686 fixed some paths in build scripts
fixed yesterday's fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 01:35:19 +00:00
Vadim Zeitlin
085ad68651 moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 00:04:22 +00:00
Julian Smart
7cc3cec9a7 Fixed a bug in transferring data to a wxComboBox if string is not
in the list of strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 21:20:56 +00:00
Vadim Zeitlin
c1cb41536a added wxGetProcessId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 20:26:24 +00:00
Robin Dunn
f87dfa063a make the second parameter to wxTreeCtrl.GetFirstChild optional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 19:54:18 +00:00
Robin Dunn
e7d0a4140b little demo updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 19:53:17 +00:00
Vadim Zeitlin
204dd9a771 added clipping test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 16:15:41 +00:00
Vadim Zeitlin
d5b18b50bd use AF_INET instead of PF_INET in wxGetFullHostName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 16:08:00 +00:00
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