Commit Graph

7832 Commits

Author SHA1 Message Date
Julian Smart
c3c979c7b8 Modified treectrlg.cpp not to crash in HitTest if there's no m_anchor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 16:12:43 +00:00
Vadim Zeitlin
0fff366e0f fix for -1 coords in wxWindow::Centre
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 15:55:08 +00:00
David Webster
6d57cea923 ANSI 'C' fix (decs in "for" clauses no longer have any scope outside clause itself)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 13:57:53 +00:00
Julian Smart
194330c765 Added m_keyGlobal.Open()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 11:37:43 +00:00
David Webster
af673e0778 Fix for VisualAge 3.0 compile concerning wxNativeFontInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 04:25:07 +00:00
David Webster
eeff964ac1 Fix for the wrong painting rectangle being set.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 04:24:11 +00:00
Vadim Zeitlin
6fe190576e wxSpinCtrl now sens TEXT_UPDATED events as in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 02:12:22 +00:00
George Tasker
58d5bf3ae2 Added code to the RIGHT CLICK popup dialog to show the type:name of the widget/dialog that was right clicked.
Added code to prompt the user for confirmation before deleting an entire DIALOG, to help avoid accidental deletions of the dialog, when the user thought they were deleting a widget.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 00:33:13 +00:00
George Tasker
e89ba6b3ca Added BOUNDING BOX selection of multiple widgets on the dialogs by left clicking and dragging the mouse while holding down the left mouse button to draw a rectangle around the widgets to be selected
Added code to the popup menus to identify which widget/dialog was right clicked
Double clicking an item in the TREE pane will bring up the EDIT PROPERTIES dialog for the widget/dialog that was double clicked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 00:31:01 +00:00
George Tasker
c0e6654255 Added BOUNDING BOX selection of multiple widgets on the dialogs by left clicking and dragging the mouse while holding down the left mouse button to draw a rectangle around the widgets to be selected
Added code to the popup menus to identify which widget/dialog was right clicked


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-21 00:27:25 +00:00
Václav Slavík
4d5cd6e05d fixed wxTextFile::GuessType assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 23:06:40 +00:00
Vadim Zeitlin
98c9fc2d06 compilation fix (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 18:26:35 +00:00
Vadim Zeitlin
080b749f7d removed SetFont() from DoDrawText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 18:22:20 +00:00
Vadim Zeitlin
50f7d0a393 2nd part of wxRegConfig fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 17:37:55 +00:00
Vadim Zeitlin
5873607e5c wxPerl doc patches applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 16:10:46 +00:00
Vadim Zeitlin
0354a70ce8 fix to GetAllCommands ret value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 16:06:03 +00:00
George Tasker
4b9fc37a48 Fixed bug where if the style included wxFRAME_NO_TASKBAR, not all the extended flags were set that were needed to prevent it from showing up on the taskbar were set (specifically WS_EX_TOOLWINDOW), and the frame still showed on the taskbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 15:18:52 +00:00
Vadim Zeitlin
09f50eb328 fix for wxRegConfig::GetNextGroup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 14:41:17 +00:00
Vadim Zeitlin
f5f4c6ce36 compilation fix for !PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 14:20:26 +00:00
Vadim Zeitlin
162437627a merged fix from 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 14:18:00 +00:00
Vadim Zeitlin
7212f3c176 warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-20 14:10:50 +00:00
George Tasker
4f8fccd11a When deleting an entire dialog in DialogEditor by right clicking and choosing DELETE from the popup menu, you are presented with an ARE YOU SURE message. This prevents the tradgedy of thinking you right clicked a widget, when you actually right clicked the dialog, and then you accidentally delete your unsaved dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 17:25:19 +00:00
Vadim Zeitlin
d9a50173fb wxFTP docs update and a small fix to wxString overview (Unicode *is* supported
now!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 17:24:47 +00:00
George Tasker
4158c64a7e Left Double clicking a widget (not a dialog) in the left hand TREE pane will now pop up the EDIT PROPERTIES dialog for the widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 17:22:46 +00:00
Vadim Zeitlin
2e907fab47 tons of wxFTP fixes and compilation fix for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 16:56:27 +00:00
Vadim Zeitlin
dda88f5eee fix for a crash in ~wxFontList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 13:52:57 +00:00
David Webster
deb63b954b Palette code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 03:10:11 +00:00
George Tasker
1378f26027 Fixed the popup menus when you right click a widget.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-19 02:00:47 +00:00
Vadim Zeitlin
76e23cdba3 compilation fixes for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 23:49:58 +00:00
Vadim Zeitlin
7826e2dd83 wxNativeFontInfo changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 21:15:16 +00:00
Vadim Zeitlin
accb325754 fixed compilation warning about variable being clobbered by fork
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 21:00:05 +00:00
David Webster
442275372d Additions to help Fonts compile clean and add SetPS impelementation to wxRegion for OS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 20:06:39 +00:00
David Webster
e7ffb21b6b VisualAge V3.0 does not understand lowercase, "true", "false"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 20:05:51 +00:00
David Webster
377771d93a Update to allow new wxNativeFontInfo stuff to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 20:04:50 +00:00
Vadim Zeitlin
afaee31547 fix to parse the new GNOME .keys files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 16:16:30 +00:00
Vadim Zeitlin
fa762db4ed fixed compilation problems (mismatch between header and cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 15:50:03 +00:00
David Webster
8d854fa93f Lots of OS/2 fixes mostly to do with painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 05:34:25 +00:00
David Webster
702c190d47 OS2 Statusbar fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 05:33:30 +00:00
David Webster
5a56a532f2 Fixes mostly to do with painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 05:32:32 +00:00
David Webster
141ddc08d6 OS2RGB def fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 05:31:33 +00:00
Vadim Zeitlin
c7ce8392e0 wxMimeTypesManager now supports creating associations as well as querying
them (MSW only, thanks to Chris Elliott)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 04:48:37 +00:00
Vadim Zeitlin
189e08b45a minor fixes for the font info patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 03:54:25 +00:00
Vadim Zeitlin
30764ab524 applied wxNativeFontInfo patch from Derry Bryson (with minor changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-18 01:00:25 +00:00
Vadim Zeitlin
a9c317d27c check the first radio button in a group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 23:12:09 +00:00
Robert Roebling
47c93b637e Applied colour patch for better 8-bit support,
Improved handling of inserting controls into
    a toolbar that don't have any def width. This
    works for all controls but wxComboBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 12:27:26 +00:00
Robert Roebling
0a07a7d852 Added wxCommandEvent::IsSeection for listbox,
Applied patch for wxListBox::Set when sorting
  Added new value rounding code (corrected for
    negative values) to scrollbar and slider
  Added ...TEXT_CHANGED event to wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-16 10:02:47 +00:00
Vadim Zeitlin
186837b05e added -mt switch for Solaris/CC MT builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-15 15:22:18 +00:00
Vadim Zeitlin
9318daf2b7 *really* fixed problem with window menu translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-14 23:23:58 +00:00
Vadim Zeitlin
ef7a25a73e merged in fix for GetValue() from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-14 15:48:30 +00:00
Vadim Zeitlin
beed393c67 patch for not calling wxEntryCleanup() from a DLL applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-13 20:38:37 +00:00