Commit Graph

1241 Commits

Author SHA1 Message Date
Julian Smart
f60d0f944a Got generic wxListCtrl, wxTreeCtrl working under Windows, wxNotebook almost;
some doc corrections; Win16 dialog crash cured


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-23 09:58:02 +00:00
Vadim Zeitlin
c238949553 wxTextFile::Type changed to ::wxTextFileType (portability)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-22 11:55:03 +00:00
Robin Dunn
2ea0957914 Now compiles with /GX- on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 19:59:03 +00:00
Robin Dunn
8516328f1b Added $(OVERRIDEFLAGS) to the end of the flags so default flags can be overridden.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 19:49:46 +00:00
Julian Smart
d4a23feeb2 Added convenience form of wxEvtHandler::Connect, only one id; changed
type to wxEventType; fixed my regconf.h mistake in config.cpp (oops)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 09:59:58 +00:00
Stefan Csomor
223c85b142 CW Win32 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 09:10:07 +00:00
Stefan Csomor
469e1e5c35 CW Win32 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 08:44:48 +00:00
Stefan Csomor
518f33a4e5 CW Win32 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-21 08:36:48 +00:00
Julian Smart
1e6d94998f wxPaintDC -> wxDC in wxListCtrl; fixed compile problems in wxTreeCtrl (return
types in wxCHECK_MSG); compiles again for 16-bit Windows, though dialogs don't work;
added generic notebook implementation (copied from wxMotif); fixed event handler
arg in wxDirDialog; added preliminary wxImage reference; removed some constructors from documentation; fixed wxIniConfig compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-20 23:49:21 +00:00
Vadim Zeitlin
23fd5130c7 missing functions implemented in wxMSW tree ctrl (custom sorting,
GetChildrenCount(), DeleteChildren()).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-20 00:34:52 +00:00
Robert Roebling
d3b4d11313 wxPython updates (SWIG really works, cannot believe it)
wxRadioBox now has multi column layout (the wxPython sample
    still doesn't do that correctly)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-19 12:38:52 +00:00
Robert Roebling
c2a6abc077 Added missing filed to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-19 08:19:24 +00:00
Robert Roebling
a93109d592 Added more keyboard handling to wxTreeCtrl
Fixed HitText wrt to items with an image
  changed size calculation in wxStatText


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-19 08:16:45 +00:00
Julian Smart
7be1f0d91a Partial Watcom C++ 10.6 support added (doesn't link for some reason)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 23:18:59 +00:00
Julian Smart
28ab302b70 Solved a bug in generic wxTreeCtrl whereby CalculatePositions was not completing
due to a missing '!', so scrollbars were not set properly. Tidied up wxMotif
scrollbar setting.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 18:22:43 +00:00
Robert Roebling
63852e7836 wxDirDialog now sorts its entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 17:05:57 +00:00
Robert Roebling
aeeb6a44d1 wxClipboard now serves the primary selection as well
wxPython fixes
  warning mesages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 15:49:10 +00:00
Vadim Zeitlin
95aabccc3a added stubs for wxTreeCtrl functions not yet implemented under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 15:47:08 +00:00
Vadim Zeitlin
e1ee62bd79 wxTreeCtrl::Sort() changed, adapted the sample to show it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 15:37:19 +00:00
Julian Smart
5fbc0fa65a Added dummy DeleteChildren so the sample will at least link.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 14:53:13 +00:00
Julian Smart
94b49b9303 In DialogEd, changed Close to Destroy to make it shut down properly.
Various Motif fixes incl. fixing window colours, menu fonts/colours, dialog box


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 14:40:38 +00:00
Robert Roebling
358fc25cc3 Fixed nasty bug wxFont
Removed wxDirDialog from /src/gtk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 13:35:58 +00:00
Robert Roebling
0659e7ee61 Tried to add sorting to wxTreeCtrl
minor fixes to radiobutton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 10:19:07 +00:00
Julian Smart
ddcc5f5bc6 Added an index for the HTML files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 22:39:43 +00:00
Julian Smart
90e94c0410 Added some gettext HTML files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 22:13:38 +00:00
Julian Smart
bdf6a8e35d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 21:06:15 +00:00
Julian Smart
fa18b7575b Added wxRA_SPECIFY_COLS/ROWS (same as wxRA_HORIZONTAL/VERTICAL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 21:05:28 +00:00
Julian Smart
d7a15103f7 Added wxDirDialog to generic directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 20:56:27 +00:00
Vadim Zeitlin
8bf45ed12a The checkbox doesn't eat the first "toggled" event if SetValue(FALSE) was
called any more. Added 2 lines to the controls sample to demonstrate it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 20:24:44 +00:00
Vadim Zeitlin
79a773ba60 wxString::Truncates() now doesn't change the sharied copies of the string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 20:23:13 +00:00
Vadim Zeitlin
a43a4f9d4d all delete functions now send delete notification event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 19:26:16 +00:00
Vadim Zeitlin
372edb9d37 1. added wxTreeCtrl::DeleteChildren()
2. wxTreeCtrl::CollapseAndReset() doesn't destroy the item itself any more
3. wxTreeCtrl::Delete() sends wxEVT_COMMAND_TREE_CHILDREN event (but
   DeleteChildren() and DeleteAll() do not!)
4. Sample modified to show the new function too
5. Micro redraw bug fixed (small vertical line was sometimes drawn when it
   shouldn't have been)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 18:41:00 +00:00
Julian Smart
34b5942848 Bother, had to revert it since it caused more ambiguities.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 18:19:51 +00:00
Julian Smart
c52486391b Removed sometimes-ambiguous wxString operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 18:12:31 +00:00
Robin Dunn
be4d9c1faf wxPython 0.5.2
Minor fixes and SWIG code generation for RR's changes.  MSW and GTK
versions are much closer now!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 18:07:15 +00:00
Julian Smart
6f63ec3f93 Just a teeny change -- addition of wxFrame::IsMaximized. For wxMDIChildFrame
in wxGTK, is probably always TRUE (always size of client area).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 17:59:50 +00:00
Robin Dunn
c95e68d8c7 wxPython 0.5.2
Minor fixes and SWIG code generation for RR's changes.  MSW and GTK
versions are much closer now!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 17:53:33 +00:00
Robert Roebling
6fbf0513e0 GTK is standard in configure again
removed warning from postscript dc
  compile fix for wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 15:46:50 +00:00
Vadim Zeitlin
ccfd0a25fe status bar is created before it's used for the first time (better this way)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 14:45:22 +00:00
Robert Roebling
4f22cf8ddb Removed minor differences between wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 14:07:46 +00:00
Julian Smart
399aa5e3f2 Changed m_children to GetChildren() -- not all ports are the same!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 10:10:53 +00:00
Robert Roebling
2dc1bdac6a Added wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 09:57:33 +00:00
Julian Smart
99cc00edee Re-added corrupt binary files; small change to filefn.cpp for Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 09:44:29 +00:00
Robert Roebling
b292e2f512 I've put live into Vadim's wxNavigationKeyEvent idea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 08:40:34 +00:00
Robin Dunn
105e45b9d0 Tweaks needed to be able to build wxPython with wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-16 22:12:47 +00:00
Julian Smart
5f4987fed4 Removed some unnecessary bitmaps; other minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-16 16:23:20 +00:00
Robert Roebling
1144d24d25 Added wxTolBar::etMargins
Checklistbox update


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-16 12:17:14 +00:00
Vadim Zeitlin
e74bfc5d1a listbox kbd handling buglet corrected (event.Skip() called even when no
selection)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-16 08:11:17 +00:00
Robert Roebling
435fe83e74 Added layout constraints call to wxNotebook
Renamed key_down events to match MSW equivalents
  Invened activated events to tree and list ctrl
  Added patches to text ctrl from georg


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-16 08:06:02 +00:00
Vadim Zeitlin
655822f3a7 1. is there any reason to comment out SetColor() in controls? I restored it...
2. Removed unused files from checklst sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-15 22:59:11 +00:00