Commit Graph

13975 Commits

Author SHA1 Message Date
Chris Elliott
d440dda1e0 minifram sample modified to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:21:52 +00:00
Chris Elliott
0ed1d09c46 comment added to toolbar to say using BMPs uses less pace than XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:08:07 +00:00
Chris Elliott
6f4aae6098 treectrl sample modified to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:05:01 +00:00
Robin Dunn
99030bdf57 Missing ;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 00:19:40 +00:00
Vadim Zeitlin
61179e28bd fixed problems with hanging inside IsDialogMessage or DefDlgProc by forcing all parents of windows with WS_EX_CONTROLPARENT to have this style themselves as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:59:11 +00:00
Vadim Zeitlin
8ff4113603 added missing space before >> button label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 23:57:55 +00:00
Robin Dunn
6ca312ba68 New SWIGged code for wxMac,
updated version in build script


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 22:22:18 +00:00
Vadim Zeitlin
64b397664d suppress an assert when a combobox receives WM_KILLFOCUS while it is being destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:41:13 +00:00
Vadim Zeitlin
e5251d4f78 fixes to the sizers behaviour necessary to make the log dialog work again
(thanks to Dimitri) and a few updates to the docs after the recent changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 20:21:20 +00:00
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