Commit Graph

496 Commits

Author SHA1 Message Date
Vadim Zeitlin
674ac8b919 1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
2. wxWindow::Create() always takes a wxValidator parameter, even if
   !wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
   removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Vadim Zeitlin
6f2a55e34a 1. more HP-UX warning fixes (almost done...)
2. added a macro WXUNUSED_UNLESS_DEBUG()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:42:32 +00:00
Vadim Zeitlin
5fc7ede910 wxRegion should work with wxCoord, not long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:16:57 +00:00
Robert Roebling
04165bec2c Compilation fix,
wxGTK requires GTK 1.2.3.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:20:21 +00:00
Robert Roebling
db434467a1 New colour, font, theme and size code..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:02:27 +00:00
Robert Roebling
33720b2de5 Corrected spin control, which ignored hand typed text.
Corrceted GetBestSize() etc of static text (displayed
    in tip dialog and elsewhere).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 11:42:49 +00:00
Robert Roebling
07f5b19a15 wxSpinCtrl no longer emits event when changed programmatically.
Some GUI thread things and tests,
  Change for borders around cmposite controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 16:25:28 +00:00
Vadim Zeitlin
13111b2ac8 1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Robert Roebling
23efdd028e Added wxWindow::DoMoveWindow(..)
Changed dnd and clipboard overviews.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:52:51 +00:00
Robin Dunn
8d772832a0 Added a constructor that allows creation of independent wxControl
(for more easily creating custom controls)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 19:23:13 +00:00
Robert Roebling
17bec151f9 Added wxBitmap::GetSubBitmap()
Correct images in gen. dir dlg.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:18:43 +00:00
Vadim Zeitlin
e838cc1468 1. wxMotif toolbar works; the toggle buttons have the same width as the other
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
   **", as in wxGTK
3. added an X error handler to wxMotif (debug only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Vadim Zeitlin
8a0681f933 merging in the toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Robert Roebling
6308151359 Added wxUSE_SPINCTRL,
Added various HAVE_XIM patches.
  Added forty's headers to list of installed files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 11:59:07 +00:00
Vadim Zeitlin
95724b1aa2 Rotated text patch from Hans-Joachim Baader (with some corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:35:27 +00:00
Vadim Zeitlin
32db328c7a wxMenu::Insert() seems to work, bug in wxMenuBase::Insert() is corrected
(inserting an item at pos == GetCount() should be the same as appending and
not an error)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:10:31 +00:00
Vadim Zeitlin
f03ec224dc wxMenuBar::Insert() seems to work!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 13:43:59 +00:00
Robert Roebling
58c837a4e6 String changes for translations,
Made wxBitmap derive from wxGDIObject,
  Removed #ifdefs around destrctors for GDI lists (wxBrushList etc),
  Created wxEVT_COMMAND_SPINCTRL_UPDATE with obvious usage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 10:37:39 +00:00
Vadim Zeitlin
1c4f8f8d18 1. wxMotif::wxFrame derives from wxFrameBase now
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +00:00
Robert Roebling
5ef9f90366 slider link fix 2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:17:24 +00:00
Robin Dunn
aa9a4ae1a5 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 20:28:25 +00:00
Robert Roebling
a075e27bf3 sdasd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:43:47 +00:00
Robert Roebling
9826157f41 ?jl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:42:26 +00:00
Robert Roebling
72a7edf007 Minor changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:41:20 +00:00
Robert Roebling
20e05ffbd3 Headers moved a bit.
Minor docs updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:44:25 +00:00
Vadim Zeitlin
f68586e51b wxWindow::GetBestSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00
Robert Roebling
97d7bfb8b4 Added wxEvtHandler::Disconect()
Added wxToolBar::DeleteTool()
  Removed the WXWIN_COMP... defines from the common setup.h
  Some tests,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 15:58:35 +00:00
Vadim Zeitlin
7c0ea335c7 wxFrameBase class for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 21:31:40 +00:00
Robert Roebling
bf9e3e7367 Added wxWakeUpIdle() to wxGTK,
Changed wxFindFile to detect hidden files (but not "." and ".." as before),
  Added "show hidden files" to file dialog,
  Added controls to wxToolBar,
  doc view now uses pretty file dialogs as per MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 15:14:23 +00:00
Julian Smart
c0ab6adfed Watcom C++ fixup in tbar95.cpp; removed WXWIN_COMPATIBILITY for 'old' menu
constructor and event handling; added wxString version of wxGetTempFileName


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 14:41:30 +00:00
Vadim Zeitlin
fd69e87d25 compilation fix (float => wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:41:43 +00:00
Vadim Zeitlin
0470b1e6fe wxTimer/timercmn.cpp change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:19:38 +00:00
Robin Dunn
085078a1c4 Made SetType public to match MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 06:07:20 +00:00
George Tasker
9695185a70 Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:50:34 +00:00
Vadim Zeitlin
7beba2fc73 1. wxFontMapper almost finished
2. font helper functions are now in separate files, not utilsunx.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:03:19 +00:00
Robert Roebling
8487f88742 Added IsTopLevel() as a virtual function.
Added fontenum.hto filelist.txt,
  Changed window positioning code again,
  some more related things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:54:10 +00:00
Vadim Zeitlin
b02da6b187 many warnings fixed (from HP-UX compilation log)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:41:23 +00:00
Vadim Zeitlin
1987af7e9f wxGTK compiles (and seems to work) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:21:40 +00:00
Vadim Zeitlin
717a57c2fa 1. wxMenu changes: wxMenuBase appears, several new functions for dynamic menu
handling as well
2. new sample: menu
3. small corrections to wxFileHistory made possible by wxMenu changes
4. ugly fix for panel loaded from resources and TABbing
5. wxDataObject &c doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:25:43 +00:00
Robert Roebling
59fe1666ce Distrib corrections,
Changed way to prevent toolbar from sending
    event when changes programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 16:42:46 +00:00
Robert Roebling
354aa1e366 Some work on tabbing and menu accels,
Added a missing "Activate()" to docvwmdi sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 15:08:33 +00:00
Robert Roebling
da048e3d4c Renamed GtkMyFixed to GtkPizza,
Made default button work more often than before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:20:44 +00:00
Vadim Zeitlin
ce89fdd22e wxGTK::wxSpinCtrl API synchronised with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 13:04:45 +00:00
Vadim Zeitlin
3dfac9707a 1. added wxMenuBarBase
2. corrected typo in gtk/menu.cpp when dealing with Fn accel keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:07:04 +00:00
Vadim Zeitlin
974e8d946f 1. small dnd compilation fixes (no attempt to make icon setting work though)
2. wxMenuItemBase appears
3. more key combinations handled by wxGTK for menu accels


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 15:51:37 +00:00
Robert Roebling
11e1c70d8e Small distrib changes,
Use GTK's native insert for wxListBox,
  Compile pacthes for AIX,
  wxClipboard things,
  Ignore wxSIZE_AUTO flags in wxDialog and wxFrame,
  Ignore toolbar size in wxFrame::Get/SetClientSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:45:01 +00:00
Vadim Zeitlin
8ee9d6182c 1. wxDropTarget::OnData() returns wxDragResult now, not bool
2. fixed assert failure in wxMSW::wxListBox
3. wxFileHistory automatically deletes non existinf files from menu
4. wxDropTarget coordinates are client (and not screen) under MSW too
5. wxConvertBitmapToDib and vice versa seem to work!
6. client data field if filled by wxListBox and wxChoice and it's also deleted
   (this just wasn't done before!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 23:40:55 +00:00
Robert Roebling
7b5d569973 Added wxDropSource::GiveFeedBack().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 22:43:21 +00:00
Vadim Zeitlin
6c8a980fc4 1. sorted wxListBox and wxComboBox seem to work under wxGTK
2. to support this, new class wxControlWithItems added (ctrlsub.h/cpp) and the
   controls sample modified to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 18:00:39 +00:00
Vadim Zeitlin
2ee3ee1bc8 wxChoice and wxListBox GTK+ changes (wxChoice works, wxListBox still doesn't)
to support sorting, also compilation fixes in dataobj.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:55:27 +00:00
Vadim Zeitlin
e01c8145b1 1. some fixes for wxSortedArrayString
2. wxChoice understands wxCB_SORT under GTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:04 +00:00
Vadim Zeitlin
12db77cab1 wxMotif compilation fixes for wxDataObject and PROCESS_EVENTS (wxSocket)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 20:16:53 +00:00
Vadim Zeitlin
c9057ae1c5 OnEnter/OnDragOver API update (compiles, links, somewhat runs under wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 17:47:45 +00:00
Robert Roebling
e5d6aa2208 A bit more or multi-format clipboard.
Added == operator to wxDataFormat for standard types (again).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 16:53:38 +00:00
Vadim Zeitlin
f536e0f24b wxClipboard::IsOpened() and wxCLipboardLocker helper class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:56:34 +00:00
Robert Roebling
97c79de27c More DnD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:09:06 +00:00
Robert Roebling
b068c4e8a1 Made wxGTK compile and link again. Broke wxMSW a little.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 10:23:30 +00:00
Vadim Zeitlin
9e2896e5c8 wxDataObject changes - ok for MSW, still not for GTK/Motif/...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 01:58:57 +00:00
Vadim Zeitlin
e1ee679c2e wxDataObejct and related changes (won't compile right now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:42 +00:00
Vadim Zeitlin
3f364be84b added dobjcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:22:47 +00:00
Robert Roebling
2f073eb2e0 Fixed problem with mouse events getting sent to wrong
children when these were scrolled.
  wxCheckBox and wxRadioButton now have cursors and
    will do other things more sanely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 20:38:47 +00:00
Robert Roebling
8e00741dbd Further DnD changes. Untested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 22:13:33 +00:00
Robert Roebling
a3e7d24d21 Changed two conflicting defines in defs.h
DnD multiformat fine-tuning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 15:12:11 +00:00
Robert Roebling
d6538e2c55 Added size hints to dialog,
Corrected client data "code" for wxChoice,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 10:51:48 +00:00
Robert Roebling
1dd989e1bf New wxDataObject etc. Almost works.
A few more compatibility funcs for (long*) vs (int*).
  Makefile.in regenerated from filelist...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 22:22:56 +00:00
Vadim Zeitlin
9abe166a30 wxControl and wxChoice derive from the base classes under wxGTK too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:45:28 +00:00
Vadim Zeitlin
72cdf4c9b3 1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested)
2. long -> wxCoord change for wxGTK and wxMSW, use
   wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour
3. wxHTML compilation fixes (for !wxUSE_HTML case)
4. a couple of handy macros in thread.h added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:14:52 +00:00
Robert Roebling
c6d73ef67d Corrected wxImage for use with mono wxBitmaps,
Corrected compilation of wxApp without threads (untested).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 08:51:23 +00:00
Robert Roebling
30760ce7e5 Applied Diana's font patch II
Made wxGLCanvas work again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 10:22:45 +00:00
Vadim Zeitlin
8e193f384f 1. wxPostEvent added and documented
2. Made it possible to have wxDataObjects which support multiple formats
   painlessly
3. Extensively modified dnd sample to show a "real life" wxDataObject


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 01:18:49 +00:00
Robert Roebling
6d693bb4fc Restored wxSizeEvent code form last week -> wxGLCanvas
probably broken again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 20:07:16 +00:00
Vadim Zeitlin
2b835535a9 removed wxDialog::Centre()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 15:49:05 +00:00
Robert Roebling
5451765210 Changed time of sending the wxSizeEvent and assorted things,
this made wxGLCanvas work,
  wxMiniFrame looks correct again,
  Corrected makefile for HTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 13:09:01 +00:00
Robert Roebling
cf1f0870d8 Applied patches for AIX,
Corrected prop dialog,
  Tabbing in parent top-level-windows no longer possible,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 09:29:20 +00:00
Robert Roebling
d1b15f03b8 Added wxMenu::Delete() and fixed some menu deleted memory
leaks. Some.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 19:32:58 +00:00
Robert Roebling
147bc49159 Tried to make wxGLCanvas work again. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 15:24:49 +00:00
Robert Roebling
738f9e5a12 added SpinCtrl,
updated a few headers,
  tried to set window size hints, no effect with KWM,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 10:05:36 +00:00
Robert Roebling
307f16e829 Changed SetToolBar() to behave a bit smarter. Untested.
Removed some unused variables.
  More tests in scroll sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 09:06:35 +00:00
Robert Roebling
ed673c6a48 New scrolling code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 20:09:32 +00:00
Karsten Ballüder
223d09f6b5 replaced T() makro with wxT() due to namespace probs, _T() exists, too
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Vadim Zeitlin
07818da861 wxRegion::IsEmpty() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:11:57 +00:00
Vadim Zeitlin
e90c1d2a19 many changes; major ones:
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Robert Roebling
9b7e522ae9 Applied a few old patches,
Changed dclick handling in wxFileDialog,
  Added cursor code to wxToolBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:03:48 +00:00
Robert Roebling
f35c265988 If we used 10% less inline functions in useless occasions,
we would have 50% less to debug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 19:33:07 +00:00
Vadim Zeitlin
7a903311aa virtual functionsignature corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:31:57 +00:00
Robert Roebling
5e014a0c44 Corrected filelist.txt a little - one gsocket.c is enough,
Corrected cursors - not yet perfect,
  Added some tests to scroll sample
  Made wxScrolledWindow::Scroll() call Refresh(),
  Change wxListCtrl to reflect the latter change (wxTreeCtrl will follow),
  Added activate event for wxMDIChildFrame
  Implemented wxSIMPLE_BORDER for wxWindow (no controls),
  Tried to correct positioning upon start-up - no way,
  Rewrote catching of scroll events - page-up, page-down, up and down
    work now. Don't know what TOP and BOTTOM are used for.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:13:45 +00:00
Sylvain Bougnoux
f0599ea919 Factorize timercmm.cpp code
Added wxGetCurrentUtime
Put extern declaration in wx/timer.h instead of wx/*/timer.h
Added wxChrono class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:40:04 +00:00
Vadim Zeitlin
0c5d3e1ccd 1. added a brief overview of Unicode support
2. added and documented wxBITMAP() macros (as wxICON)
3. restructured wxFont class, added support of encoding parameter
4. regenerated makefiles to compile the new fontcmn.cpp file
5. corrected bug with non existing files in document-view history


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:02:07 +00:00
Vadim Zeitlin
fdb7dadb6e param type of wxWindow::Reparent() fixed in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:35:52 +00:00
Robert Roebling
6dfaa4e5d9 Forgot to add the files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-24 20:30:10 +00:00
Robert Roebling
8636aed896 Added new wxFontDialog,
Added PICFLAGS to parser compilation,
  Implemented COL_CLICK and wxLC_NO_HEADER


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-24 20:26:06 +00:00
Robert Roebling
65045edde4 Added wxFFileStream base on wxFFile (as opposed to wxFile)
Implemented the "endl" thing for text streams,
  Corrected cursor display for text ctrls,
  Corrected the strange spin button behaviour when dynamically
    changing its range
  Corrcected bug in wxListBox when programmatically unselecting
   an item in multi-select mode (bug reports are getting esoteric)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-22 16:12:48 +00:00
Robert Roebling
e2acb9ae1c Added wxCountingStream for measuring the size of streamed data
Added wxBitmapObject for putting it on the clipboard


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-22 14:10:50 +00:00
Robert Roebling
ed58dbeab6 Changed a few #include <xxx.h> to #include "xxx.h"
Added endl operator to wxTextStream
  Corrrected a few misbehaviours in wxFileDialog,
  Corrected tab traversal a bit
  Corrected wxImage::SetData() to not copy, but take
    the data and care for ref couting as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-20 22:52:21 +00:00
Robert Roebling
9c8849722a Doc updates, wxsizer et al
wxFileDialog displays current dir now,
 wxTipProvider uses statictext for headline
 messagebox (and other) dialogs now always display
   an OK buttons, unless wxYES_NO is given
 Appending a menu to a menu bar after having called
   wxFrame::SetMenuBar() should now work
 Added test to configure so that it correctly sets
  compiler flags etc if GCC is used on Solaris and
  IRIX instead of CC, also changed default shared
  library create to GCC from G++ on some platforms
  (as previously already Linux)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-19 18:41:41 +00:00
Robert Roebling
42b4e99e9a Added Prepend() and Remove() methods to wxSizer,
Corrected a stupid bug in it,
  Freshed up wxPropertyXXX to make use of the icons
  in the dialogs.
  Made wxBmpButton inherit from wxButton. Grumble.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-16 20:17:48 +00:00
Robert Roebling
fd9811b137 compile fixes for EMX
minor doc updates
  minor fixes for problems with rdrag and ldrag in tree ctrl and list ctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-16 12:18:40 +00:00
Robert Roebling
ad9edf45f1 Augmented beta to 9,
Removed a few old Makefiles,
  Added one missing one (blush),
  Added first sample makefiles,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-12 19:24:39 +00:00
Karsten Ballüder
bf3e0fbd1f some compilation fixes atttempts for solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-12 12:18:49 +00:00