head	1.17;
access;
symbols
	pkgsrc-2013Q2:1.17.0.14
	pkgsrc-2013Q2-base:1.17
	pkgsrc-2012Q4:1.17.0.12
	pkgsrc-2012Q4-base:1.17
	pkgsrc-2011Q4:1.17.0.10
	pkgsrc-2011Q4-base:1.17
	pkgsrc-2011Q2:1.17.0.8
	pkgsrc-2011Q2-base:1.17
	pkgsrc-2009Q4:1.17.0.6
	pkgsrc-2009Q4-base:1.17
	pkgsrc-2008Q4:1.17.0.4
	pkgsrc-2008Q4-base:1.17
	pkgsrc-2008Q3:1.17.0.2
	pkgsrc-2008Q3-base:1.17
	cube-native-xorg:1.16.0.22
	cube-native-xorg-base:1.16
	pkgsrc-2008Q2:1.16.0.20
	pkgsrc-2008Q2-base:1.16
	cwrapper:1.16.0.18
	pkgsrc-2008Q1:1.16.0.16
	pkgsrc-2008Q1-base:1.16
	pkgsrc-2007Q4:1.16.0.14
	pkgsrc-2007Q4-base:1.16
	pkgsrc-2007Q3:1.16.0.12
	pkgsrc-2007Q3-base:1.16
	pkgsrc-2007Q2:1.16.0.10
	pkgsrc-2007Q2-base:1.16
	pkgsrc-2007Q1:1.16.0.8
	pkgsrc-2007Q1-base:1.16
	pkgsrc-2006Q4:1.16.0.6
	pkgsrc-2006Q4-base:1.16
	pkgsrc-2006Q3:1.16.0.4
	pkgsrc-2006Q3-base:1.16
	pkgsrc-2006Q2:1.16.0.2
	pkgsrc-2006Q2-base:1.16
	pkgsrc-2006Q1:1.14.0.4
	pkgsrc-2006Q1-base:1.14
	pkgsrc-2005Q4:1.14.0.2
	pkgsrc-2005Q4-base:1.14
	pkgsrc-2005Q3:1.13.0.2
	pkgsrc-2005Q3-base:1.13
	pkgsrc-2005Q2:1.11.0.10
	pkgsrc-2005Q2-base:1.11
	pkgsrc-2005Q1:1.11.0.8
	pkgsrc-2005Q1-base:1.11
	pkgsrc-2004Q4:1.11.0.6
	pkgsrc-2004Q4-base:1.11
	pkgsrc-2004Q3:1.11.0.4
	pkgsrc-2004Q3-base:1.11
	pkgsrc-2004Q2:1.11.0.2
	pkgsrc-2004Q2-base:1.11
	pkgsrc-2004Q1:1.10.0.2
	pkgsrc-2004Q1-base:1.10
	pkgsrc-2003Q4:1.9.0.2
	pkgsrc-2003Q4-base:1.9
	netbsd-1-6-1:1.7.0.6
	netbsd-1-6-1-base:1.7
	netbsd-1-6:1.7.0.8
	netbsd-1-6-RELEASE-base:1.7
	pkgviews:1.7.0.4
	pkgviews-base:1.7
	buildlink2:1.7.0.2
	buildlink2-base:1.7
	netbsd-1-5-PATCH003:1.7
	netbsd-1-5-PATCH001:1.4
	netbsd-1-5-RELEASE:1.4
	netbsd-1-4-PATCH003:1.4
	pkgsrc-base:1.1.1.2
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.17
date	2008.09.22.21.32.21;	author joerg;	state dead;
branches;
next	1.16;

1.16
date	2006.04.08.13.12.07;	author joerg;	state Exp;
branches;
next	1.15;

1.15
date	2006.03.30.15.28.12;	author joerg;	state dead;
branches;
next	1.14;

1.14
date	2005.10.04.01.47.32;	author minskim;	state Exp;
branches;
next	1.13;

1.13
date	2005.08.11.00.47.23;	author dmcmahill;	state Exp;
branches;
next	1.12;

1.12
date	2005.08.07.11.26.17;	author wiz;	state Exp;
branches;
next	1.11;

1.11
date	2004.05.19.15.16.39;	author drochner;	state Exp;
branches;
next	1.10;

1.10
date	2004.01.10.14.23.52;	author recht;	state Exp;
branches;
next	1.9;

1.9
date	2003.09.04.13.07.01;	author adam;	state Exp;
branches;
next	1.8;

1.8
date	2003.03.31.17.44.22;	author jmmv;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.29.08.53.18;	author jlam;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.18.05.02.09;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2001.06.15.16.53.27;	author drochner;	state Exp;
branches;
next	1.4;

1.4
date	2000.09.06.23.49.22;	author dmcmahill;	state Exp;
branches;
next	1.3;

1.3
date	2000.09.01.02.45.57;	author dmcmahill;	state Exp;
branches;
next	1.2;

1.2
date	2000.08.31.22.56.37;	author dmcmahill;	state Exp;
branches;
next	1.1;

1.1
date	2000.07.30.00.19.08;	author tsarna;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.07.30.00.19.08;	author tsarna;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2000.08.31.22.24.00;	author dmcmahill;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Retire x11/wxGTK and x11/wxGTK-contrib.
@
text
@$NetBSD: patch-ab,v 1.16 2006/04/08 13:12:07 joerg Exp $

--- src/gtk/clipbrd.cpp.orig	2006-04-03 18:45:23.000000000 +0200
+++ src/gtk/clipbrd.cpp
@@@@ -494,16 +494,21 @@@@ bool wxClipboard::AddData( wxDataObject 
 
     delete[] array;
 
+#ifdef __WXGTK20__
     gtk_signal_connect( GTK_OBJECT(m_clipboardWidget),
                         "selection_get",
                         GTK_SIGNAL_FUNC(selection_handler),
                         GUINT_TO_POINTER(
-#ifdef __WXGTK20__
                                 gtk_get_current_event_time()
+                                        ) );
 #else
+    gtk_signal_connect( GTK_OBJECT(m_clipboardWidget),
+                        "selection_get",
+                        GTK_SIGNAL_FUNC(selection_handler),
+                        GUINT_TO_POINTER(
                                 gdk_event_get_time(gtk_get_current_event())
-#endif
                                         ) );
+#endif
 
 #if wxUSE_THREADS
     /* disable GUI threads */
@


1.16
log
@Workaround GCC 2.95's inability to use #if in a macro.
@
text
@d1 1
a1 1
$NetBSD$
@


1.15
log
@Update wxGTK to 2.6.3. Feel responsible for now.

Important changes:
- Fixed crash when loading message catalogs in Unicode build.
- Spurious error message from wxLaunchDefaultBrowser fixed.
- Compilation fixes for (more strict) g++ 4.1
- Speed improvements to wxRegEx when matching is done in a loop such as
  during a search and replace.
- Fix regerror and regfree name conficts when built-in regex and system regex
  are both used in the same program.
- wxCondition::WaitTimeout() now returns correct value when timeout occurs.
- Bug in wxLogStream::DoLogString in Unicode builds fixed.
- Fixed Unicode builds using SunPro compiler by defining__WCHAR_TYPE__.
- wxFileName now also looks for TMPDIR on Unix.
- Fixed occasional wxThread cleanup crash.
- Fixed build error in list.h with VC++ 2005.
- wxImage::Copy() forgot the alpha channel.
- Fixed wxSocketBase::InterruptWait on wxBase.

- Fixed abort() on loading invalid PNG image
- Added space after list item number in wxHTML.
- wxCalendarCtrl drawing, positioning and hit-testing fixes.
- More checking of image validity before loading into wxImage.
- Added double-buffering to wxVListBox and fixed a scrolling issue.
- More than one filter allowed in in wxDocTemplate filter.
- Fixed infinite loop in tab traversal code with wxUSE_STL==1

- Fixed problem with choice editor in wxGrid whereby the editor
  lost focus when the combobox menu was shown.
- Fixed problem trying to print from a preview, whereby wrong printer
  class was used.
- Worked around pango crashes in strncmp on Solaris 10.
- Polygon and line drawing speeded up if there is no scaling.
- Fixed problems with CJK input method (reverted)
- Fixed wxNotebook::HitTest when the leftmost visible tab is not the
  actual first tab (has arrows for scrolling and is scrolled).
- Send wxSetCursorEvent
- Fix RequestMore for idle events.
- Implement user dashes for PS and GNOME printing.
- Correct update region code. Don't always invalidate the
  whole window upon resize. Reenable support for the
  wxNO_FULL_REPAINT_ON_RESIZE flag. Also disable refreshing
  custom controls when focusing in and out.
- Change wxMimeTypesManager code to ignore /etc/mailcap and
  to just read the MIME-types. Modifiying the MIME-types is
  not allowed under GNOME anyways, so make it a no-op.
- Speed up reading MIME database.
- wxClipboard fixes (thanks to Timothée Lecomte).

Additionally the build system has been libtoolified to simplify
maintainance of the shared libraries in the PLIST. Patches against
the bakefile ruleset are included for reference.

The Unicode build is not enabled, since the interface changes to
drastical.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.14 2005/10/04 01:47:32 minskim Exp $
d3 3
a5 28
--- Makefile.in.orig	2005-09-20 08:03:25.000000000 -0700
+++ Makefile.in
@@@@ -23,7 +23,9 @@@@ PIC_FLAG = @@PIC_FLAG@@
 SONAME_FLAG = @@SONAME_FLAG@@
 STRIP = @@STRIP@@
 INSTALL_PROGRAM = @@INSTALL_PROGRAM@@
+INSTALL_SCRIPT = @@INSTALL_SCRIPT@@
 INSTALL_DATA = @@INSTALL_DATA@@
+INSTALL_DATA_DIR = @@INSTALL_DATA_DIR@@
 INSTALL_DIR = @@INSTALL_DIR@@
 srcdir = @@srcdir@@
 top_srcdir = @@top_srcdir@@
@@@@ -1181,7 +1183,7 @@@@ LOCALE_MSW_LINGUAS =  it
 @@COND_DEPS_TRACKING_1@@CCC = $(top_builddir)./bk-deps $(CC)
 @@COND_DEPS_TRACKING_0@@CXXC = $(CXX)
 @@COND_DEPS_TRACKING_1@@CXXC = $(top_builddir)./bk-deps $(CXX)
-@@COND_USE_PLUGINS_0@@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL)
+@@COND_USE_PLUGINS_0@@PLUGIN_ADV_EXTRALIBS = $(EXTRALIBS_SDL) $(LIBOSSAUDIO)
 @@COND_PLATFORM_MACOSX_1@@WXMACVERSION_CMD = \
 @@COND_PLATFORM_MACOSX_1@@	-compatibility_version 2.0 -current_version 2.0
 @@COND_USE_GUI_0@@PORTNAME = base
@@@@ -9693,16 +9695,16 @@@@ samples: 
 install-wxconfig: 
 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
-	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
+	$(INSTALL_SCRIPT) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
 	(cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
d7 1
a7 13
 locale_install: 
-	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
+	$(INSTALL_DIR) $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale
 	for l in $(LOCALE_LINGUAS) ; do \
-	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
-	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
+	$(INSTALL_DIR) $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale/$$l ; \
+	$(INSTALL_DIR) $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale/$$l/LC_MESSAGES ; \
 	if test -f $(srcdir)/locale/$$l.mo ; then \
-	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(prefix)/${PKGLOCALEDIR}/locale/$$l/LC_MESSAGES/wxstd.mo ; \
 	fi ; \
 	done
d9 20
@


1.14
log
@Update wxGTK and wxGTK-contrib to 2.6.2.  Many bug fixes and
improvements.  In particular, incompatibility with pango>=1.10 was
fixed.  See CHANGES.txt for the complete list.
@
text
@d1 1
a1 1
$NetBSD$
@


1.13
log
@Make sure we follow PKGLOCALEDIR when installing the locale files.  Fixes
install on solaris.  Bump PKGREVISION.
@
text
@d1 6
a6 3
--- Makefile.in.orig	2005-06-02 12:03:05.000000000 -0400
+++ Makefile.in	2005-08-10 15:28:16.561533000 -0400
@@@@ -24,5 +24,7 @@@@
d14 3
a16 1
@@@@ -1181,5 +1183,5 @@@@
d21 2
d24 2
a25 2
 @@COND_USE_GUI_1@@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)
@@@@ -9674,14 +9676,14 @@@@
d45 1
@


1.12
log
@Update wxGTK to 2.6.1.

2.6.1
-----

All:

- Added wxLaunchDefaultBrowser.
- Added wxPLURAL() macro in addition to _() (Jonas Rydberg)

All (GUI):

- Fixed potential infinite loop when adjusting wxScrolledWindow scrollbars.
- Radio in menus do not send menu event for selections of already selected item.
- Fixed wrong positioning of marks and enumerations in lists of wxHTML.
- wxImage::Rotate90 respects alpha channel.
- Added wxEVT_SCROLL_CHANGED as synonym for wxEVT_SCROLL_ENDSCROLL.
- Replaced artwork for some cursors, icons and toolbar buttons.
- Fixed sizing problem in generic wxCalendarCtrl for short day abbreviations.
- Fixed wxWindow::DoGetBestSize to keep original best size.
- PNM now supports ASCII and raw grey formats.
- wxGrid focus and edit key improvements.

wxMSW:

- Fixed erroneous selection of content in wxComboBox when within a wxStaticBox
  (checking for selection caused by WM_STYLECHANGED).
- Added deferred positioning to wxRadioBox, wxSlider and wxSpinCtrl and thereby
  eliminated some refresh glitches when resizing.
- Eliminated further refresh glitches caused by wxRadioBox (to nearby controls)
  by refreshing parent when the radio box moves.
- Added ability set the system option "msw.staticbox.optimized-paint" to 0 to
  allow a panel to paint graphics around controls within a static box.
- Refresh exposed areas when resizing, using WM_WINDOWPOSCHANGED.
- Worked around an apparent bug in deferred window positioning (moving a
  window from (x, y) to (a, b) and back to (x, y) misses the last step) by
  checking window positions against corresponding sizer state, if any.
- A control's text colour now reflects the system colour setting.
- Fixed wxFileName::GetLongPath() to behave correctly during the first call too.
- Fixed alpha blitting to take into account source position.
- Setting foreground colour for wxCheckBox now works when using XP themes too.
- wxStaticBox label can use custom foreground colour.
- Now uses newer font MS Shell Dlg 2 if possible.
- Compiles again with WIN64.
- Winelib compilation now works.
- When converting a wxIcon to a bitmap check if the icon has an alpha
  channel and set the bitmap to use it.
- wxSlider now also sends wxEVT_SCROLL_CHANGED when using mouse wheel
- Miscellaneous wxMediaCtrl improvements.
- wxTopLevelWindow::ShowFullScreen logic error fixed.
- Fixed wxScrollBar background colour bug.
- Fixed problems with paper sizes being ignored.
- wxNotebook refresh problem fixed.
- DDE fixed for Unicode.
- Fixed ownerdrawn multiline buttons.
- wxCheckListBox item background fixed.
- Fixed some wxRegKey bugs.

wxWinCE:

- Fixed wxFileName::CreateTempFileName.

wxGTK:

- Added support for wxSTAY_ON_TOP (GTK 2.4+).
- Fixed wxTextCtrl::SetStyle for overlapping calls.
- Fixed scrollbar border colour.
- Added bitmap support in menus.

wxMac:

- Added support for launching 'APPL' bundles with wxExecute (usually they have a
  .app extension and are the ones that reside in the Applications folder).
- Fixed a bug in wxGetKeyState where shift and some other keys were returning an
  incorrect state.
- Fixed toolbar colour bug on Tiger.
- Fixed visual problems caused by removal of About menu item.
- Window menu now added automatically.
- Configure fixed for wxBase compilation.
- Modified function key support fixed.
- wxTopLevelWindow::Maximize improvements.

wxX11:

- Menu problems fixed.
- wxScrolledWindow scrolls any child windows.
- Fixed a font memory leak.
- Multiple wxTimers now work correctly.


2.6.0
-----

All:

- wxPathExists deprecated, use wxDirExists instead.
- Configure: --enable-std_iostreams, --enable-std_string are now the default.

All (GUI):

- Fixed ~wxStatusBar and ~wxToolBar which tried to check
  non-existent wxFrameBase RTTI, causing a crash if not in a frame.

wxMSW:

- Fixed static box border when the label is empty.
- Fixed SetBackgroundColour() to change only label background, not entire box.
- wxHelpController is now aliased to wxCHMHelpController.

wxWinCE:

- Fixed device origin setting and clipping region setting.

wxGTK:
- New configure syntax for specifying the GTK+ version.
    --with-gtk             Use GTK 2.x, no fallback
    --with-gtk=1           Use GTK 1.2, no fallback
    --with-gtk=2           Use GTK 2.x, no fallback
    --with-gtk=any         Use any available GTK
- wxMenuItem::SetText() takes care of hotkeys, too.
- Reworked text wrapping for wxStaticText.

wxMac:
- Implemented most of the wxFileType and wxMimeTypesManager functions

2.5.5
-----

All:

- wxURI::GetUser() only returns the user name now, use GetUserInfo() to get
  user and password as in 2.5.4; wxURI::GetPassword() added.
- Added wxDebugReport class.
- Added wxTempFileOutputStream by Stas Sergeev.
- Fixed wxDateTime::SetToWeekDayInSameWeek(Sun, Monday_First).
- Added WXK_SPECIAL keycodes for special hardware buttons.
- Fixed bug with wxFile::Seek(-1, wxFromCurrent).
- Added wxString/C array constructors to wxArrayString.
- Added wxMemoryInputStream(wxMemoryOutputStream&) constructor (Stas Sergeev)

All (GUI):

- Added GetIcon, GetBitmap to wxImageList. wxGenericImageList's original
  GetBitmap is renamed GetBitmapPtr.
- Added XPM data constructor to wxImage.
- Added style parameter to wxBufferedDC to allow buffering just the client, or
  the whole virtual area.
- Restored ability to set a custom splitter sash size with SetSashSize.
- Fixed wxScrolledWindow sizer behaviour so that the virtual size
  isn't used to set the window size.
- Added wxTE_BESTWRAP (based on patch by Mart Raudsepp).
- wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED is now only sent once at the end of
  splitter dragging and not after each CHANGING event (Jacobo Vilella Vilahur).
- Added wxImage::IsTransparent().

Unix:

- Fixed build on Linux/AMD64.

wxMSW:

- Added "orient" parameter to wxMDIParentFrame::Tile().
- wxTextCtrl with wxTE_RICH2 style now uses RichEdit 4.1 if available.
- fix handling Alt-key events in wxComboBox (reported by Joakim Roubert).
- wxWindow::Refresh() refreshes the window children as well.
- Improved static box and radio box refresh and background colour
  handling (Jamie Gadd).

wxGTK:

- Improved wxSystemSettings::GetMetric() to work better with X11 (Mart Raudsepp).
- Corrected wxListBox selection handling.
- Corrected default button size handling for different themes.
- Corrected splitter sash size and look for different themes.
- Fixed keyboard input for dead-keys.
- Added support for more wrapping styles (Mart Raudsepp).
- GTK2.4+ wxFileDialog reimplemented to support non-modal usage better,
  and fix all known bugs (Mart Raudsepp).

wxMac:

- Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for metallic-look windows.

wxPalmOS:

- Native wxRadioBox implementation.

wxWinCE:

- Added wxNB_FLAT for flat-look notebooks on Windows CE.
- Titlebar OK button on PocketPC now sends command set by SetAffirmativeId.
  You can also override wxDialog::DoOK if you need more flexibility.
- Dialog size now takes into account SIP or menubar.
- Panels more naturally white on PocketPC.
- wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes
  with correct titlebar style.
- Frames have Ctrl+Q accelerator set automatically, as per the
  PocketPC guidelines
- Documented issues in manual under wxWinCE topic.
- Made (Un)RegisterHotKey WinCE-aware.
- Sends wxEVT_HIBERNATE event.
- Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
- Added wxTE_CAPITALIZE for CAPEDIT controls.
- wxDialog::GetToolBar can be used if you need to add buttons
  to the dialog's toolbar.

2.5.4
-----

All:

- wxEvent and derived classes don't have public members any more, you must
  use accessors methods now (Mart Raudsepp)
- new classes for reading and writing ZIP files (M.J.Wetherell)
- large files support for wxFFile (M.J.Wetherell)
- classes in the manual are now cross-referenced (Zbigniew Zagórski)
- Norwegian (Bokmål) translation added (Hans F. Nordhaug)
- wxDynamicLibrary::HasSymbol() added
- added wxEXEC_NODISABLE flag to be used with wxExecute(wxEXEC_SYNC)
- added wxTextInputStream::operator>>(wchar_t) for compilers which support this
- added wxURI, a class for dealing with Uniform Resource Identifiers
- changed wxURL to inherit from wxURI and provide assignment and comparison
- implemented wxConvUTF7 (modified patch from Fredrik Roubert)
- added versions of MB2WC and WC2MB for wxMBConv that works for embedded null chars
- Unicode support in wxODBC is now fully implemented
- A new data type specific to wxWidgets called SQL_C_WXCHAR has been introduced.
  SQL_C_WXCHAR should be used rather than SQL_C_CHAR to ensure transparent
  behavior between Unicode and non-unicode builds
- BLOB example added to samples/db (thanks to Casey O'Donnell)
- use wxStream::GetLength() instead of deprecated GetSize()
- wxGetOsDescription() is now more precise (Olly Betts)
- XRC supports system fonts and colours (Ray Gilbert)
- Added flags argument to wxKill/wxProcess::Kill to kill child processes.
- Added wxPrintFactory classes so that it is possible to add a new
  print system backend at run-time. This was required by the new GNOME
  printing stuff in the GTK port.
- Deprecated print setup dialog.
- Added support to the wxODBC classes for Firebird 1.5 database
- The samples/db sample program now includes an optional example of using a BLOB
  datatype (if BLOB support is enabled and supported by the database)
- added wxDynamicLibrary::ListLoaded()
- wxGetPowerType() and wxGetBatteryState() addition
- wxSystemSettings::GetSystem*() members deprecated and replaced with
  wxSystemSettings::Get*()
- wxWindowBase::DoGetBestSize now includes the difference (if any) between
  the client size and total size of the window.  Code that sets the
  client size using the best size, or that added extra space to sizers
  to compensate for this bug may need to be changed.
- Changed calculation of scrolling area to not clip away some bits
  due to a rounding error.
- Changed GetVirtualSize() to return client size by default until
  SetVirtualSize() gets called. From then on it will only return that.
- Various changes to how wxListCtrl and wxTreeCtrl react to right
  mouse clicks and left mouse click for starting a drag operation.
- "Alt" key (VK_MENU) now results in WXK_ALT keyboard event, not WXK_MENU
- wxFFile::ReadAll() now takes an optional wxMBConv parameter
- wxCommandProcessor::MarkAsSaved() and IsDirty() added (Angela Wrobel)
- added wxStackWalker and related classes (Win32 and some Unix versions only)


All (GUI):

- added wxMediaCtrl
- added wxDatePickerCtrl
- wxHtmlWindow now supports background images given in <body> tag
- wxSplitterWindow now supports gravity parameter (Zbigniew Zagórski)
- recursive wxSizer::GetItem returns item of given window, sizer or nth index
- wxLayoutConstraints now use best size, not current size, for AsIs() condition
- wxSizer::Add/Insert etc. now returns pointer to wxSizerItem just added and this
  item remembers its wxRect area (Brian A. Vanderburg II)
- wxBookCtrl renamed to wxBookCtrlBase, wxBookCtrl is reserved for most native
  book control (for now wxChoicebook for MSSmartphone, wxNotebook for others).
  Necessary event macros, types and styles mapped accordingly.
- new wxBrush::IsHatch() checking for brush type replaces IS_HATCH macro
- wxProgressDialog accepts smooth gauge again (wxPD_SMOOTH style)
- wxProgressDialog new style: wxPD_CAN_SKIP which provides skipping some parts
  of the progress (with new "Skip" button in dialog)
- wxGenericListCtrl::SetItemState(-1) now changes the state of all items as
  in wxMSW version (Gunnar Roth)
- added wxImage::InitAlpha()

Unix:

- wxPuts() now correctly outputs trailing new line in Unicode build

wxGTK:

- Added printing support by way of using libgnomeprint. The library
  now checks at runtime, if the library is installed and will use it
  if it is. Otherwise, it will fall back to the old PostScript printing
  code, from which the Pango drawing code was removed.
- Implemented/improved wxDC::DrawRotatedText()
- fixed wxFileDialog::SetWildcard()
- native file dialog is now used if available (Zbigniew Zagorski)
- implemented wxTextCtrl::Freeze() and Thaw(). The GtkTextBuffer
  is not a valid one during frozen state. Get a pointer to it right
  after wxTextCtrl creation if you really need to. (Mart Raudsepp)
- Changed calls to GTK+ 2.4.x functions so that the code checks at
  runtime, which library version is installed so that these functions
  are only called with GTK+ 2.4.x installed and should yield linker
  errors otherwise.
- wxTextCtrl text insertion efficiency fixed. (Mart Raudsepp)
- Added wxRawBitmap support
- Corrected Input method handler code (for Chinese etc.) and its
  interaction with wxWidgets' events.
- wxTE_AUTO_URL implemention for wxGTK2 multiline wxTextCtrls (Mart Raudsepp)

wxMac:

- Vertical sliders oriented consistent with MSW/GTK (0 at top) (Kevin Hock)
- wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
- wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name
- wxJoystick now works on OSX

wxMSW:

- fixed enhanced metafiles loading from files (Andreas Goebel)
- wxRadioButtons no longer have to be consecutive in a group
- fixed spurious selection of combobox text during resize
- pass correct tool id (and not always -1) to EVT_TOOL_RCLICKED() handler
- added wxRegKey::Export(file)

wxWinCE:
- Added support for MS Handheld PC 2000. This was done before 2.5.4,
  but not mentioned anywhere.
- Added (preliminary) support for sockets

wxUniv:

- wxBU_... button align flags support
- vertical notebook orientation support
- 3rd state support for checkboxes
- wxLB_SORT and wxCB_SORT now cause case-insensitive sorting

wxPalmOS:

- William Osborne has won and new port was born
  (see: "wxPalmOS porting challenge")
- polishing of the port (unnecessary 2.4 API compatibility, removed
  all wxMSW specific code which was base for the new port)
- enumeration of available volumes
- native wxPrefConfig around Preferences database
- native wxProgressDialog implementation
- native wxColourDialog implementation
- native wxSystemSettings colours
- native wxButton implementation
- native wxCheckBox implementation
- native wxSlider implementation
- native wxToggleButton implementation
- native wxRadioButton implementation
- native wxStaticText implementation
- native wxDatePickerCtrl implementation


2.5.3
-----

All:

- support for large (>2 Gb) files in wxFile (Tim Kosse)
- number of fixes to wxPluginManager (Rick Brice, Hans Van Leemputten)
- fixed memory leak in wxURL when using a proxy (Steven Van Ingelgem)
- fixed bug in wxDateTime::Set(jdn) when DST was in effect
- fixed fatal bug in wxString when wxUSE_STL==1 (Kurt Granroth)
- support msgids in charsets other than C and languages other than English
  (based on patch by Stefan Kowski)
- added wxMicroSleep() and wxMilliSleep() replacing deprecated wxUsleep()
- basic UDP sockets support (Lenny Maiorani)
- fixed wxDateTime::GetWeekDayName() for some dates (Daniel Kaps)
- deprecated wxDateTime::SetToTheWeek() in favour of SetToWeekOfYear()
- active mode support in wxFTP (Randall Fox)
- sped up wxHTTP and wxFTP
- added wxStringInput/OutputStreams
- added wxFileConfig::Save(wxOutputStream)
- fixed wxString's behavior with inserted null characters

All (GUI):

- added wxWindow::MoveBefore/AfterInTabOrder() to change tab navigation order
- added wxTaskBarIcon::CreatePopupMenu which is now the recommended way
  of showing a popup menu; calling wxTaskBarIcon::PopupMenu directly
  is discouraged
- added ..._CMD_...(id) variants for wxGrid event table entry macros
- added wxWindow::Navigate for programmatic navigation to the next control
- wxTextCtrl::OnChar now inserts a tab character if wxTE_PROCESS_TAB is set
- added wxKeyEvent::GetUnicodeKey()
- added wxKeyEvent::CmdDown() and wxMouseEvent::CmdDown()
- implemented wxListCtrl::FindItem() for non-MSW (Robin Stoll)
- added status bar fields styles support (Tim Kosse)
- added convenience functions wxSizer::AddSpacer() and
  wxSizer::AddStretchSpacer() (as well as Prepend and Insert variants)
- added samples/splash
- added support for stock buttons
- added wxTopLevelWindow::RequestUserAttention()
- support for comma in contrib gizmo wxLEDNumberCtrl (Grant Likely)
- recursive wxSizer::Show for subsizer and return value if element was found
- added wxChoicebook control
- smoother time estimation updates in wxProgressDialog (Christian Sturmlechner)
- the XRC contrib library was moved to the core
- wx(Choice/List/Note)book controls send CHANG(ED/ING) events in SetSelection
- it is now possible to create a wxFont with given size in pixels (d2walter)
- added wxTopLevelWindow::IsActive()
- wxSystemSettings::GetMetric now returns -1 for metrics that are not
  supported, instead of zero.
- IMPLEMENT_DYNAMIC_CLASS2 macro compilation fixed (Serge Bakkal)

Unix:

- wxTaskBarIcon now supports freedesktop.org System Tray protocol
- security fixes to wxSingleInstanceChecker
- wx-config script was modified to allow choosing from multiple installed
  builds of wxWidgets and to return flags/libs for selected libraries only
- wx-config has new --version-full option

wxCocoa:

- added Unicode compatibility layer for OSX 10.2
- fixed so that wxCocoa runs in OSX 10.2
- Tooltips now supported
- wxSound now supported
- wxDisplay now supported
- Some stock cursors now supported

wxMac:

- fixed MLTE text control GetLineText and GetLineLength on OSX
- added OSX wxTaskBarIcon implementation for the OSX Dock
- added Unicode compatibility layer for OSX 10.2
- wxGetKeyState now works with nearly all wx key codes

wxGTK:

- wxGTK uses GTK+ 2.x by default now, you have to pass --disable-gtk2 to
  configure if you want to use GTK+ 1.2
- fixed many rendering artifacts and wrong colours with lots of GTK+ themes
- implemented wxColourDialog as native dialog
- implemented wxTextCtrl::HitTest() (GTK+ >= 2)
- implemented wxTextCtrl::ScrollLines() and ScrollPages for GTK+ 2.x
- wxTreeCtrl::GetCount() counts root as well now (compatible with MSW)
- added support for wxCHK_3STATE style (GTK2 only)
- implemented text underlining under GTK2
- implemented wxFRAME_NO_TASKBAR style (GTK >= 2.2)
- implemented support for wxSYS_DCLICK_?, wxSYS_DRAG_? and wxSYS_CURSOR_?
  in wxSystemSettings::GetMetric (Mart Raudsepp)
- implemented wxTopLevel::IsMaximized() for GTK+2 and WMs that implement
  freedesktop.org's wm-spec (Mart Raudsepp)
- wxEVT_CONTEXT_MENU is now generated for right mouse press, not release
- implemented alpha channel support in wxBitmap
- added native GTK+2 wxArtProvider implementation with ability to load
  icons from icon theme in addition to recognized stock art
- fixed crash on 64 bit platforms (Paul Cornett)

wxMotif:

- added support for wxCHK_3STATE style (3 state checkbox)

wxMSW:

- fixed UNC paths handling in wxFileSystem (Daniel Nash)
- set wxKeyEvent::m_uniChar in Unicode build
- support for alpha channel in toolbar bitmaps (Jurgen Doornik)
- wxFileDialog can now be moved and centered (Randall Fox)
- restored (and improved) possibility to use wx with MFC broken in 2.5.2
- fixed wxTextCtrl::SetMaxLength for rich edit controls
- fixed flat style for toolbars under XP, Windows Classic style
- fixed truncation of transferred data in wxConnection under unicode build
- wxChoice and wxComboBox dropdown background can be set now too (Adrian Lupei)
- fixed wxMaximizeEvent generation in wxFrame
- don't send duplicate EVT_COMBOBOX events whenever selection changes any more
- implemented support for selecting printer bin (Steven Van Ingelgem)
- fixed wxListCtrl::SetSingleStyle() which was broken since a few releases
- fixed print setup problem (always uses default printer) in Unicode build

wxUniv/X11:

- fixed fatal crash when opening a menu

wxWinCE:

- added native WinCE driven smartphone wxTextCtrl implementation using spinners
- added native WinCE driven smartphone wxChoice implementation using spinners
- added automated but customizable handling of native WinCE driven smartphone menus
- fixed wxRadioBox and wxStaticBox

wxHTML:

- added support for nested index entries and index entries pointing to more
  than one page to wxHtmlHelpController


2.5.2
-----

All:

- Hindi translation added (Dhananjaya Sharma)
- Brazilian Portuguese translation added (E. A. Tacao)
- wxDynamicCast() now uses static_cast<wxObject *> internally and so using it
  with anything not deriving from wxObject will fail at compile time (instead
  of run-time) now
- when wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
  wxHashMap/wxHashSet are just typedefs for them. This makes impossible
  to forward declare these classes.

All (GUI):

- wxHtmlWindow now delays image scaling until rendering,
  resulting in much better display of scaled images
- Added UpdateSize to wxSplitterWindow to allow layout while hidden
- implemented Freeze/Thaw() for wxGenericTreeCtrl (Kevin Hock)
- support for KOI8-U encoding added (Yuriy Tkachenko)
- The old wxADJUST_MINSIZE behaviour is now the default behaviour for
  sizer items that are windows.  This means that GetAdjustedBestSize
  will now be called by default to determine the minimum size that a
  window in a sizer should have.  If you want to still use the initial
  size (and not the BestSize) then use the wxFIXED_MINSIZE flag.  When
  windows are added to a sizer their initial size is made the window's
  min size using SetSizeHints, and calls to wxSizer::SetItemMinSize
  are also forwarded to SetSizeHints for window items.
- added wxRegEx::GetMatchCount()
- it is now possible to display images in wxHtmlListBox

wxMSW:

- wxWindow::Freeze()/Thaw() can now be nested
- Added wxSP_NO_XP_THEME style to wxSplitterWindow to switch off
  XP theming (some applications look bad without 3D borders)
- wxMenuBar::GetLabelTop() doesn't include '&'s in the label any more
- wxRegConf couldn't read global settings without admin privileges and didn't
  even try to do it by default -- now it does
- wxTaskBarIcon must be explicitly destroyed now, otherwise the application
  won't exit even though there are no top level windows
- wxFileName::GetModificationTime() works with opened files too now
- wxDC::GetClippingBox() now works even for clipping regions created by Windows
- fixed wxFileDataObject in Unicode build (Alex D)
- subindented paragraphs support (Tim Kosse)

wxGTK:

- added support for wxTE_RIGHT and wxTE_CENTRE styles under GTK2 (Mart Raudsepp)

wxMotif:

- removed wxMenuItem::DeleteSubMenu()
- wxButtons use Motif default size, which is smaller than it used to be
  and closer to wxMSW/wxGTK look. This can be disabled by setting
  motif.largebuttons system option to 1 (see wxSystemOptions).

wxUniv/X11:

- implemented DrawRoundedRectangle() (clawghoul)

wxHTML:

- improved tables and lists layout algorithms (Tim Kosse)
- <div> handling fix (Xavier Nodet)

Unix:

- fixed priorities of mailcap entries (David Hart)
- added "wx-config --libs=std,<extra>" syntax (i.e. support for "std")

wxODBC:

- Full Unicode support is now available
- BLOB support is working


2.5.1
-----

All:

- event table macros now do some minimal type safety checks (Michael Sögtrop)
- added wxGzipInput/OutputStream, bug fixes in wxZlibStreams (M.J.Wetherell)
- wxDateTime::ParseDateTime() implemented (Linus McCabe)
- wxHTTP::GetResponse() added (David Nock)
- added conversions to/from UTF 16/32 LE/BE (Andreas Pflug)
- added wxTextInputStream::ReadChar() (M.J.Wetherell)
- added translation to Afrikaans (Petri Jooste)
- Spanish translations updated (Javier San Jose)
- added gettext plural forms support to wxLocale (Michael N. Filippov)
- wxFileName::Normalize(wxPATH_NORM_ALL) doesn't lower filename case any more
- wxFileName::Normalize(wxPATH_NORM_ENV_VARS) now works
- check if file exists in wxFileConfig::DeleteFile() (Christian Sturmlechner)
- when wxUSE_STL == 1 wxHashTable will not be implemented using wxHashMap
  (as in 2.5.0).
- added some extra convenience functions to wxRect such as
  GetBottomRight (Hajo Kirchhoff)
- changed built-in regex library to a Unicode-compatible version based
  on TCL sources (Ryan Norton, M. J. Wetherell)
- added extra convenience functions to wxPoint for adding a
  wxSize (Wlodzimierz Skiba)
- intermediate wxIPaddress class added to prepare for
  wxIPV6address (Ray Gilbert)
- added overloaded constructors and Create() methods taking wxArrayString
  for wxChoice, wxComboBox, wxListBox, wxRadioBox, wxCheckListBox,
  wxSingleChoiceDialog, wxMultipleChoiceDialog
- renamed wxWave class to wxSound

All (GUI):

- added 3-state checkboxes for MSW/Mac (Dimitri Schoolwerth)
- added some support for C++ exceptions in the library (do read the manual!)
- added wxListCtrl::GetViewRect()
- added wxTextCtrl::MarkDirty()
- wxToolBar::ToggleTool() now works for radio buttons (Dag Ågren)
- wxListCtrl now sends an END_LABEL event if editing was cancelled, too
- bug in wxRect ctor from two [out of order] wxPoints fixed (Steve Cornett)
- status text is now restored after wxMenu help is shown in it
- bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang)
- make it possible to use wxRTTI macros with namespaces (Benjamin I. Williams)
- wxColourDatabase API now uses objects instead of pointers
- added resolution option to JPEG image handler (Jeff Burton)
- added wxCalendarEvent::SetDate, wxCalendarEvent::SetWeekDay
- wxGenericDirCtrl now accepts multiple wildcards
- added focus event forwarding to wxGrid (Peter Laufenberg)
- fixed scrollbar problem in wxGrid (not showing scrollbars
  when sizing smaller) (Shane Harper)
- dbbrowse demo fixed for Unicode (Wlodzimierz Skiba)
- added wxStatusBar support to XRC (Brian Ravnsgaard Riis)
- wxMenu::Append and etc. return a pointer to the wxMenuItem that was
  added or inserted, or NULL on failure.
- using a -1 (wxID_ANY) for menu or toolbar item IDs will now generate new id
- added option to generate C++ headers to wxrc utility (Eduardo Marques)
- added wxDC::DrawPolyPolygon() for MSW/PS (Carl-Friedrich Braun)
- wxBufferedDC now allows to preserve the background and is documented
- added wxDC::GetPartialTextExtents

wxMSW:

- wxWidgets now builds under Win64
- fixed DDE memory leaks
- fixed wxTE_*WRAP styles handling
- wxTextCtrl::GetValue() works with text in non default encoding
- changed wxCrashReport to generate minidumps instead of text files
- wxRadioButtons are now checked when they get focus (standard behaviour)
- several fixes to owner drawn menu items (Christian Sturmlechner)
- wxGauge now supports full 32 bit range (Miroslav Rajcic)
- make it possible to give focus to the notebook tabs (Hajo Kirchhoff)
- MDI child frames are not always resizeable any more (Andrei Fortuna)
- fixed enumerating of entries/groups under '/' in wxRegConfig
- added wxSYS_ICONTITLE_FONT (Andreas Pflug)
- added wxPATH_NORM_SHORTCUT to wxFileName
- wxComboBox::GetValue within a wxEVT_COMMAND_TEXT_UPDATED event
  should now pass the correct value even if the handler for
  wxEVT_COMMAND_COMBOBOX_SELECTED changed the selection
- wxFileDialog now returns correct filter index for multiple-file dialogs
- added wxTextCtrl::HitTest()
- experimental wxURL implementation using WinInet functions (Hajo Kirchhoff)
- fixed several bugs in wxNotebook with wxNB_MULTILINE style
- accelerators are now initially hidden if appropriate (Peter Nielsen)
- background colour of a wxComboBox may now be set
- fixed wxListCtrl::GetItemText/BackgroundColour()
- Esc can now be used to close menus in the dialogs (Hartmut Honisch)
- Added msw.remap system option so colourful toolbar buttons
  aren't mangled if you set it to 0. The default is 1
- Toolbar buttons are now centred if the bitmap size is smaller
  than the specified default size
- Fixed a bug in wxSpinCtrl::DoGetBestSize that would make wxSpinCtrl too tall

wxGTK:

- fixes to wxTextCtrl scrolling under GTK2 (Nerijus Baliunas)
- fix for crash when using user-dashed lines (Chris Borgolte)
- fixed wxChoice::Delete() in presence of client data
- allow calling wxWindow::SetFont if window not yet created
- use same average character width as other ports when calculating dialog units
- fixed mouse wheel handling under GTK2 (Hugh Fisher)
- wxNotebook::HitTest() implemented (Daniel Lundqvist)
- memory leaks fixes in wxFileDialog (John Labenski)
- don't drop click events from triple clicks (Frode Solheim)

wxMac:

- use same average character width as other ports when calculating dialog units
- implemented handling of mouse wheel
- fix for long file names (longer than 32 characters) in file dialogs
- use Unix sockets for Mach-o builds

wxMotif:

- look for Motif 2.1 headers before Motif 1.2 ones in configure

wxHTML:

- wxHtmlHelpController now supports compressed MS HTML Help files (*.chm)
  on Unix (Markus Sinner)

Unix:

- added XFree86 resolution changing using xf86vidmode extensions (Ryan Norton)
- implemented asynchronous playback in wxSound and added SDL backend in
  addition to existing OSS one
- it is now possible to send PostScript to any output stream (Zoltan Kovacs)


2.5.0
-----

All:

- It is now possible to build several smaller libraries instead of single
  huge wxWidgets library; wxBase is now dependency of GUI ports rather then
  separately compiled library
- added wxDateSpan::operator==() and !=() (Lukasz Michalski)
- added wxFileName::GetForbiddenChars() (Dimitri Schoolwerth)
- use true/false throughout the library instead of TRUE/FALSE
- wxStopWatch::Start() resumes the stop watch if paused, as per the docs
- added wxDirTraverser::OnOpenError() to customize the error handling
- added wxArray::SetCount()
- wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding
  by default in Unicode mode
- bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed
- added wx/math.h (John Labenski)
- added Catalan translations (Pau Bosch i Crespo)
- added Ukrainian translations (Eugene Manko)
- fixed bug with deleting entries at root level in wxFileConfig
- chkconf.h now includes platform-specific versions (for MSW
  and Mac) which contain some tests that were in setup.h
- added event sink argument to wxEvtHandler::Connect()
- added support for POST method and alt ports to wxHTTP (Roger Chickering)
- added wxSocket::IPAddress() (Chris Mellon)
- wxDataStreams can read/write many elements at once (Mickael Gilabert)
- added wxRecursionGuard class
- added wxThreadHelper class (Daniel Howard)
- Added STL support (--enable-stl for configure, wxUSE_STL in setup.h).
  When enabled, wxString will derive from std::string, wxArray from,
  std::vector, wxList from std::list. In addition wxHashTable will be
  implemented in terms of wxHashMap.
- Added wxList::compatibility_iterator. Can be used like wxNode* (except
  it can't be delete()d). It permits writing code which will work
  both with wxUSE_STL==1 and wxUSE_STL==0.

wxBase:

- added Watcom makefiles
- fixed bug with searching in sorted arrays (Jürgen Palm)

All GUI ports:

- added wxVScrolledWindow, wxVListBox and wxHtmlLbox classes
- added wxListbook control
- added alpha channel support to wxImage
- added wxRenderer class allowing to customize the drawing of generic controls
- added wxCLOSE_BOX style for dialogs and frames
- added wxSplitterWindow and wxWizard handlers to XRC
- wxWizard is now sizer-friendly and may be made resizeable (Robert Vazan)
- added proportion to wxFlexGridSizer::AddGrowableRow/Col (Maxim Babitski)
- added wxFlexGridSizer::SetFlexibleDirection() (Szczepan Holyszewski)
- implemented GetEditControl for wxGenericTreeCtrl (Peter Stieber)
- improved contrib/utils/convertrc parsing (David J. Cooke)
- fixed handling of URLs and filenames in wxFileSystem
- implemented alignment for wxGrid bool editor and renderer
- support wxListCtrl columns alignment for all platforms and not just MSW
- added wxToolBar Add/InsertTool(tool) (Janusz Piwowarski)
- added wxTB_HORZ_TEXT style for MSW and GTK (Axel Schlueter)
- fixed user dash handling for MSW and GTK (Ken Edwards)
- WXR resources can now be used in Unicode builds
- it is now possible to use several wxFileHistory objects in the same menu
  by giving them different base IDs (Dimitri Schoolwerth)
- Added wxTLW::SetShape with implementations for wxMSW and wxGTK (so far)
- FL: removed const from EnableTool parameters
- FL: signal child window when toolbar is closed
- In various places, changed tests for pathsep on last char of string to call
  wxEndsWithPathSeparator(s)
- Added to defs.h a couple of macros (wxPtrToULong & wxULongToPtr)
- Minor improvements to document/view framework, including
  delayed deletion of a document (until after the user has chosen
  a new document), and more intelligent addition of filenames to
  the file history, including not adding filenames if not using the
  default extension for the template
- sped up wxImage::Scale using fixed point arithmetic (Wade Brainerd)
- Added BLOB support to wxDB (John Skiff)
- wxWizard now validates when pressing Back or Next
- Implemented wxNotebook::DoGetBestSize so Fit now works
- Added FindItemByPosition to wxMenu
- wxTimer now derives from wxEvtHandler and is its own owner object by default
- Extended wxTextAttr and added wxTextCtrl::GetStyle stub
  to allow better rich text support.
- implemented wxFlexGridSizer::Show() (Wade Brainerd)
- Added m_ prefix to wxColourData and wxFontData members
- Added wxHtmlPrintout::AddFilter so HTML printing can be subject to
  custom filters as well as HTML viewing.
- Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
  user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
  sends wxUpdateUIEvents, and can be overridden. It has a helper function
  DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
  CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
  determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
  styles for use with conservative idle and update event modes.
- send menu update events only when a menu is about to be used (MSW/GTK)
- improved event processing performance (Hans Van Leemputten)
- added wxMirrorDC class
- printing improvements: GetPageInfo() gets called after the DC has
  been set and after OnPreparePrinting() has been called so it can
  report the number of pages accurately; doesn't try to set
  number of pages in print dialog, in common with other Windows apps;
  wxHTML easy printing's preview shows number of pages
  correctly; preview scrollbars are set correctly; keyboard navigation
  improved

Unix:

- fixed compilation on systems with zlib installed but < 1.1.3 version
- fixed compilation on Solaris 7 with large files support enabled
- added wxTaskBarIcon implementation for X11
- added support for GNU/Hurd in configure
- wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug)

Generic controls:

- implemented wxListCtrl::Refresh() (Norbert Berzen)
- support adding/removing columns dynamically (Donald C. Taylor)
- wxToolBarSimple, property list classes, wxTreeLayout moved
  to contrib/src/deprecated

wxGTK:

- added support for label mnemonics to GTK+2 build (Michael Moss)
- added native wxMessageDialog implementation for GTK+2 build
- fixed wxMenu::Remove (John Skiff and Benjamin Williams)
- made wxTextCtrl::EmulateKeyPress() work for Delete and Backspace
- fixed wxTopLevelWindow::ShowFullScreen to work with kwin, IceWM and
  window managers that support _NET_WM_STATE_FULLSCREEN
- added wxEVT_MENU_OPEN event generation
- fixed bug in generic file selector causing incomplete file extensions to
  be appended to filenames with no extension
- added wxTextCtrl::SetSelection implementation for GTK+ 2
- fixed wxTextCtrl::IsEditable() for GTK+ 2
- fixed wxStaticText alignment for GTK+ 2 (Kevin Hock)
- don't consume 100% CPU when showing a popup menu

wxMac:

- generate wxEVT_SCROLL_THUMBRELEASE and wxEVT_SCROLLWIN_THUMBRELEASE events
- generate wxEVT_MENU_OPEN and wxEVT_MENU_CLOSE events

wxMSW:

- possibility to use DIBs for wxBitmap implementation (Derry Bryson)
- added wxCrashReport
- wxStaticBitmap doesn't stretch its bitmap any longer (like other ports)
- support for accelerator keys in the owner drawn menus (Derry Bryson)
- wxCaret::SetSize() doesn't hide the caret any longer as it used to
- wxCheckListBox::Check() doesn't send CHECKLISTBOX_TOGGLE event any more
- fixed bugs in wxThread::Wait() and IsAlive()
- fixed bug with wxTR_EDIT_LABELS not working with wxTR_MULTIPLE
- fixes for compilation with OpenWatcom and DigitalMars compilers
- fixed wxStaticText best size calculation (was wrong by '&' width)
- fixed calling wxFrame::Maximize(FALSE) before the window is shown
- added wxNotebook::HitTest() (Otto Wyss)
- libraries built with makefile.g95 have a _min or _cyg suffix (MinGW/Cygwin)
- when using DLL, wxLocalFSHandler was not being exported
- fixed problem with wxEvtHandler object not removed from wxPendingEvents
- Windows XP manifest is now included in wx.rc; it is no longer necessary
  to ship .exe.manifest file with applications to support XP themes
- wxLocale::Init no longer reports error if trying to set Unicode-only locale
  or if user's default locale is Unicode-only
- improved border handling under Windows XP
- partial fix for wxNotebook pages looking bad under XP: wxUSE_UXTHEME
  enables XP theme engine code, and wxUSE_UXTHEME_AUTO tells
  wxWidgets to use the theme tab colour for control backgrounds.
- disable wxNB_RIGHT, wxNB_LEFT, wxNB_BOTTOM notebook styles under Windows XP
- fixed release mode build with VC 7.x (Martin Ecker)
- added support for wxALWAYS_SHOW_SB style
- you don't need to add opengl32.lib when using VC++ now (David Falkinder)

wxMotif:

- made wxFileDialog behaviour with complex wildcards more sensible (it still
  does not support all the features other ports do); refer to wxFileDialog
  documentation for a detailed explanation
- implemented wxWakeUpIdle
- for Motif 2.0, used the native combobox widget instead of the GPL'd
  xmcombo; xmcombo is still used for Motif 1.x and Lesstif when compiled
  with Motif 1.x compatibility
- implemented wxToggleButton
- wxRadioBox and wxStaticBox now use the default shadow (border) style
  instead of a sunken border
- implemented wxBitmapDataObject
- finished wxClipboard implementation

wxUniv:

- controls in toolbars now supported

wxHTML:

- added text selection to wxHtmlWindow
- added SetFonts to HTML printing classes (Adrian Philip Look)
- it is now possible to force page break when printing by inserting
  <div style="page-break-before:always"> into the markup (Greg Chicares)
- wxHtmlWindow now uses double buffering to prevent flicker
@
text
@d1 3
a3 6
$NetBSD: patch-ab,v 1.11 2004/05/19 15:16:39 drochner Exp $

--- Makefile.in.orig	2005-06-02 18:03:05.000000000 +0200
+++ Makefile.in
@@@@ -23,7 +23,9 @@@@ PIC_FLAG = @@PIC_FLAG@@
 SONAME_FLAG = @@SONAME_FLAG@@
d11 1
a11 3
 top_srcdir = @@top_srcdir@@
@@@@ -1180,7 +1182,7 @@@@ LOCALE_LINGUAS = ca cs da de el es fi fr
 @@COND_DEPS_TRACKING_1@@CCC = $(top_builddir)./bk-deps $(CC)
d18 1
a18 3
 @@COND_TOOLKIT_MAC@@WXBASEPORT = _carbon
@@@@ -9673,7 +9675,7 @@@@ samples: 
 install-wxconfig: 
d26 12
@


1.11
log
@use g++ to build shared libs to get an implicite dependency on libstdc++
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.10 2004/01/10 14:23:52 recht Exp $
d3 5
a7 41
--- Makefile.in.orig	2003-09-21 13:31:27.000000000 +0200
+++ Makefile.in	2004-01-10 10:30:56.000000000 +0100
@@@@ -21,13 +21,13 @@@@
 .SUFFIXES: .o .c .cpp .cxx .rsrc .r
 
 .c.o:
-	$(CC) -c $(CFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c $(CFLAGS) -o $@@ $<
 
 .cpp.o:
-	$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c $(CXXFLAGS) $(CPPFLAGS) -o $@@ $<
 
 .cxx.o:
-	$(CXX) -c $(CXXFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c $(CXXFLAGS) $(CPPFLAGS) -o $@@ $<
 
 .rsrc.r:
 	$(DEREZ) $^ Carbon.r -useDF > $@@
@@@@ -42,10 +42,6 @@@@
 VP3 = @@top_srcdir@@/src/generic
 VP4 = @@top_srcdir@@/src/unix
 VP5 = @@top_srcdir@@/src/html
-VP6 = @@top_srcdir@@/src/png
-VP7 = @@top_srcdir@@/src/jpeg
-VP8 = @@top_srcdir@@/src/tiff
-VP9 = @@top_srcdir@@/src/zlib
 VPA = @@top_srcdir@@/src/regex
 VP10 = @@top_srcdir@@/src/iodbc
 VP11 = @@top_srcdir@@/src/msw/ole
@@@@ -53,7 +49,7 @@@@
 # the comment at the end of the next line is needed because otherwise autoconf
 # would remove this line completely - it contains a built-in hack to remove
 # any VPATH assignment not containing ':'
-VPATH = $(VP1)@@PATH_IFS@@$(VP2)@@PATH_IFS@@$(VP3)@@PATH_IFS@@$(VP4)@@PATH_IFS@@$(VP5)@@PATH_IFS@@$(VP6)@@PATH_IFS@@$(VP7)@@PATH_IFS@@$(VP8)@@PATH_IFS@@$(VP9)@@PATH_IFS@@$(VPA)@@PATH_IFS@@$(VP10)@@PATH_IFS@@$(VP11) # ':' for autoconf
+VPATH = $(VP1)@@PATH_IFS@@$(VP2)@@PATH_IFS@@$(VP3)@@PATH_IFS@@$(VP4)@@PATH_IFS@@$(VP5)@@PATH_IFS@@$(VPA)@@PATH_IFS@@$(VP10)@@PATH_IFS@@$(VP11) # ':' for autoconf
 
 prefix = @@prefix@@
 exec_prefix = @@exec_prefix@@
@@@@ -72,7 +68,8 @@@@
 INSTALL = @@INSTALL@@
d9 1
d11 20
a30 320
-INSTALL_SCRIPT = @@INSTALL@@
+INSTALL_DATA_DIR = ${BSD_INSTALL_DATA_DIR}
+INSTALL_SCRIPT = @@INSTALL_SCRIPT@@
 
 build_alias = @@build_alias@@
 build_triplet = @@build@@
@@@@ -94,10 +91,6 @@@@
 COMMDIR  = $(WXDIR)/src/common
 HTMLDIR  = $(WXDIR)/src/html
 UNIXDIR  = $(WXDIR)/src/unix
-PNGDIR   = $(WXDIR)/src/png
-JPEGDIR  = $(WXDIR)/src/jpeg
-TIFFDIR  = $(WXDIR)/src/tiff
-ZLIBDIR  = $(WXDIR)/src/zlib
 REGEXDIR = $(WXDIR)/src/regex
 GTKDIR   = $(WXDIR)/src/gtk
 X11DIR   = $(WXDIR)/src/x11
@@@@ -161,124 +154,6 @@@@
 		regerror.o \
 		regfree.o
 
-ZLIBOBJS = \
-		adler32.o \
-		compress.o \
-		crc32.o \
-		gzio.o \
-		uncompr.o \
-		deflate.o \
-		trees.o \
-		zutil.o \
-		inflate.o \
-		infblock.o \
-		inftrees.o \
-		infcodes.o \
-		infutil.o \
-		inffast.o
-
-PNGOBJS = \
-		png.o \
-		pngerror.o \
-		pnggccrd.o \
-		pngget.o \
-		pngmem.o \
-		pngpread.o \
-		pngread.o \
-		pngrio.o \
-		pngrtran.o \
-		pngrutil.o \
-		pngset.o \
-		pngtrans.o \
-		pngvcrd.o \
-		pngwio.o \
-		pngwrite.o \
-		pngwtran.o \
-		pngwutil.o
-
-JPEGOBJS = \
-		jcomapi.o \
-		jutils.o \
-		jerror.o \
-		jmemmgr.o \
-		jmemnobs.o \
-		jcapimin.o \
-		jcapistd.o \
-		jctrans.o \
-		jcparam.o \
-		jdatadst.o \
-		jcinit.o \
-		jcmaster.o \
-		jcmarker.o \
-		jcmainct.o \
-		jcprepct.o \
-		jccoefct.o \
-		jccolor.o \
-		jcsample.o \
-		jchuff.o \
-		jcphuff.o \
-		jcdctmgr.o \
-		jfdctfst.o \
-		jfdctflt.o \
-		jfdctint.o \
-		jdapimin.o \
-		jdapistd.o \
-		jdtrans.o \
-		jdatasrc.o \
-		jdmaster.o \
-		jdinput.o \
-		jdmarker.o \
-		jdhuff.o \
-		jdphuff.o \
-		jdmainct.o \
-		jdcoefct.o \
-		jdpostct.o \
-		jddctmgr.o \
-		jidctfst.o \
-		jidctflt.o \
-		jidctint.o \
-		jidctred.o \
-		jdsample.o \
-		jdcolor.o \
-		jquant1.o \
-		jquant2.o \
-		jdmerge.o
-
-TIFFOBJS = \
-		tif_aux.o \
-		tif_close.o \
-		tif_codec.o \
-		tif_compress.o \
-		tif_dir.o \
-		tif_dirinfo.o \
-		tif_dirread.o \
-		tif_dirwrite.o \
-		tif_dumpmode.o \
-		tif_error.o \
-		tif_fax3.o \
-		tif_fax3sm.o \
-		tif_getimage.o \
-		tif_jpeg.o \
-		tif_flush.o \
-		tif_lzw.o \
-		tif_luv.o \
-		tif_next.o \
-		tif_open.o \
-		tif_packbits.o \
-		tif_pixarlog.o \
-		tif_predict.o \
-		tif_print.o \
-		tif_read.o \
-		tif_swab.o \
-		tif_strip.o \
-		tif_thunder.o \
-		tif_tile.o \
-		tif_unix.o \
-		tif_version.o \
-		tif_warning.o \
-		tif_write.o \
-		tif_zip.o
-
 IODBCOBJS = \
 		catalog.o \
 		connect.o \
@@@@ -302,52 +177,27 @@@@
 SONAME_FLAGS = @@SONAME_FLAGS@@
 SONAME_FLAGS_GL = @@SONAME_FLAGS_GL@@
 
-all: @@WX_ALL@@
+all: $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la $(build_libdir)/lib@@WX_LIBRARY_GL@@.la
 
-$(build_libdir)/@@WX_LIBRARY_NAME_STATIC@@: $(OBJECTS)
-	@@$(INSTALL) -d $(build_libdir)
-	@@$(RM) $@@
-	$(AR) $(AROPTIONS) $@@ $(OBJECTS)
-	$(RANLIB) $@@
-
-$(build_libdir)/@@WX_LIBRARY_NAME_STATIC_GL@@: glcanvas.o
-	@@$(INSTALL) -d $(build_libdir)
-	@@$(RM) $@@
-	$(AR) $(AROPTIONS) $@@ glcanvas.o
-	$(RANLIB) $@@
-
-$(build_libdir)/@@WX_LIBRARY_NAME_SHARED@@: $(OBJECTS)
-	@@$(INSTALL) -d $(build_libdir)
-	$(SHARED_LD) $@@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
+$(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la: $(OBJECTS)
+	@@$(INSTALL_DATA_DIR) $(build_libdir)
+	${LIBTOOL} --mode=link ${CXX} -o $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la ${OBJECTS:.o=.lo} ${EXTRALIBS} -rpath ${PREFIX}/lib -version-info 0:1
 
 # NB: we used to have "-L$(build_libdir) @@WXCONFIG_LIBS@@" in the SHARED_LD line
 #     but this seems to result in problems with libwx_gtk being linked in twice
-$(build_libdir)/@@WX_LIBRARY_NAME_SHARED_GL@@: glcanvas.o $(build_libdir)/@@WX_LIBRARY_NAME_SHARED@@
-	@@$(INSTALL) -d $(build_libdir)
-	$(SHARED_LD) $@@ $(SONAME_FLAGS_GL) glcanvas.o $(EXTRALIBS) $(LDFLAGS_GL) $(OPENGLLIBS)
+$(build_libdir)/lib@@WX_LIBRARY_GL@@.la: glcanvas.o $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la
+	@@$(INSTALL_DATA_DIR) $(build_libdir)
+	${LIBTOOL} --mode=link ${CXX} -o $(build_libdir)/lib@@WX_LIBRARY_GL@@.la glcanvas.lo ${EXTRALIBS} $(LDFLAGS_GL) $(OPENGLLIBS) -rpath ${PREFIX}/lib -version-info 0:1
 
 $(build_libdir)/@@WX_RESOURCES_MACOSX_DATA@@: $(MACRESOURCES)
-	@@$(INSTALL) -d $(build_libdir)
+	@@$(INSTALL_DATA_DIR) $(build_libdir)
 	$(RESCOMP) -d __UNIX__ -useDF $^ -o $@@
 
-$(build_libdir)/@@WX_LIBRARY_LINK1@@: $(build_libdir)/@@WX_LIBRARY_NAME_SHARED@@
-	@@$(RM) $(build_libdir)/@@WX_LIBRARY_LINK1@@
-	@@$(RM) $(build_libdir)/@@WX_LIBRARY_LINK2@@
-	cd $(build_libdir) \
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK1@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK2@@
-
-$(build_libdir)/@@WX_LIBRARY_LINK1_GL@@: $(build_libdir)/@@WX_LIBRARY_NAME_SHARED_GL@@
-	@@$(RM) $(build_libdir)/@@WX_LIBRARY_LINK1_GL@@
-	@@$(RM) $(build_libdir)/@@WX_LIBRARY_LINK2_GL@@
-	cd $(build_libdir) \
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK1_GL@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK2_GL@@
-
 $(OBJECTS): $(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
 
 parser.o: parser.c lexer.c
 	$(CCLEX) -c $(CFLAGS) -I. $(PICFLAGS) -o $@@ parser.c
+	${LIBTOOL} --mode=compile $(CCLEX) -c $(CFLAGS) -I. $(PICFLAGS) -o $@@ parser.c
 
 parser.c: $(COMMDIR)/parser.y lexer.c
 	$(YACC) $(COMMDIR)/parser.y
@@@@ -369,13 +219,6 @@@@
 
 @@IF_GNU_MAKE@@-include $(OBJECTS:.o=.d)
 
-CREATE_INSTALLED_LINKS: preinstall
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK1@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK2@@
-	cd $(libdir) \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK1@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK2@@
-
 CREATE_INSTALLED_LINKS_GL: preinstall_gl
 	$(RM) $(libdir)/@@WX_LIBRARY_LINK1_GL@@
 	$(RM) $(libdir)/@@WX_LIBRARY_LINK2_GL@@
@@@@ -385,10 +228,10 @@@@
 
 afminstall: preinstall
 	@@if test ! -d $(datadir); then $(INSTALL) -d $(datadir); fi
-	$(INSTALL) -d $(datadir)/wx
-	$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)
-	$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/afm
-	$(INSTALL) -d $(datadir)/wx/$(VER_MAJMIN)/gs_afm
+	$(INSTALL_DATA_DIR) $(datadir)/wx
+	$(INSTALL_DATA_DIR) $(datadir)/wx/$(VER_MAJMIN)
+	$(INSTALL_DATA_DIR) $(datadir)/wx/$(VER_MAJMIN)/afm
+	$(INSTALL_DATA_DIR) $(datadir)/wx/$(VER_MAJMIN)/gs_afm
 	$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/afm
 	$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/$(VER_MAJMIN)/gs_afm
 
@@@@ -410,51 +253,51 @@@@
 
 # this is the real install target: copies the library, wx-config and the
 # headers to the installation directory
-preinstall: $(build_libdir)/@@WX_TARGET_LIBRARY@@ $(top_builddir)/wx@@TOOLCHAIN_NAME@@-config
+preinstall: $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la $(top_builddir)/wx@@TOOLCHAIN_NAME@@-config
 	@@echo " "
 	@@echo " Installing wxWindows..."
 	@@echo " "
 
-	@@if test ! -d $(prefix); then $(INSTALL) -d $(prefix); fi
-	@@if test ! -d $(bindir); then $(INSTALL) -d $(bindir); fi
-	@@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
+	@@if test ! -d $(prefix); then $(INSTALL_DATA_DIR) $(prefix); fi
+	@@if test ! -d $(bindir); then $(INSTALL_DATA_DIR) $(bindir); fi
+	@@if test ! -d $(libdir); then $(INSTALL_DATA_DIR) $(libdir); fi
 
 	$(INSTALL_SCRIPT) $(top_builddir)/wx@@TOOLCHAIN_NAME@@-config $(bindir)/wx@@TOOLCHAIN_NAME@@-config
 	cd $(bindir) && rm -f wx-config && $(LN_S) wx@@TOOLCHAIN_NAME@@-config wx-config
-	@@INSTALL_LIBRARY@@ $(build_libdir)/@@WX_TARGET_LIBRARY@@ $(libdir)/@@WX_TARGET_LIBRARY@@
+	${LIBTOOL} --mode=install ${INSTALL_DATA} $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la $(libdir)
 	@@if test "x@@WX_LIBRARY_IMPORTLIB@@" != "x"; then \
 		$(INSTALL_PROGRAM) $(top_builddir)/lib/@@WX_LIBRARY_IMPORTLIB@@ $(libdir)/@@WX_LIBRARY_IMPORTLIB@@; fi
 
-	$(INSTALL) -d $(libdir)/wx
-	$(INSTALL) -d $(libdir)/wx/include
-	$(INSTALL) -d $(libdir)/wx/include/univ
-	$(INSTALL) -d $(libdir)/wx/include/@@TOOLCHAIN_NAME@@
-	$(INSTALL) -d $(libdir)/wx/include/@@TOOLCHAIN_NAME@@/wx
+	$(INSTALL_DATA_DIR) $(libdir)/wx
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/univ
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/@@TOOLCHAIN_NAME@@
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/@@TOOLCHAIN_NAME@@/wx
 	$(INSTALL_DATA) $(build_libdir)/wx/include/@@TOOLCHAIN_NAME@@/wx/setup.h \
                     $(libdir)/wx/include/@@TOOLCHAIN_NAME@@/wx/setup.h
 
-	$(INSTALL) -d $(includedir)/wx
+	$(INSTALL_DATA_DIR) $(includedir)/wx
 	@@# FIXME: This will erroneously install a wx/base dir for wxBase..
-	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@@TOOLKIT_DIR@@; fi
-	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
-	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/generic; fi
-	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/univ; fi
-	@@if test "@@TOOLKIT_DIR@@" = "msw"; then $(INSTALL) -d $(includedir)/wx/msw/ole; fi
+	@@if test "$(USE_GUI)" = 1; then $(INSTALL_DATA_DIR) $(includedir)/wx/@@TOOLKIT_DIR@@; fi
+	@@if test "$(USE_GUI)" = 1; then $(INSTALL_DATA_DIR) $(includedir)/wx/html; fi
+	@@if test "$(USE_GUI)" = 1; then $(INSTALL_DATA_DIR) $(includedir)/wx/generic; fi
+	@@if test "$(USE_GUI)" = 1; then $(INSTALL_DATA_DIR) $(includedir)/wx/univ; fi
+	@@if test "@@TOOLKIT_DIR@@" = "msw"; then $(INSTALL_DATA_DIR) $(includedir)/wx/msw/ole; fi
 
 	@@# always install msw headers for wxBase, it's much simpler
-	@@if test "$(USE_GUI)" = 0; then $(INSTALL) -d $(includedir)/wx/msw; fi
+	@@if test "$(USE_GUI)" = 0; then $(INSTALL_DATA_DIR) $(includedir)/wx/msw; fi
 
-	$(INSTALL) -d $(includedir)/wx/protocol
-	$(INSTALL) -d $(includedir)/wx/unix
+	$(INSTALL_DATA_DIR) $(includedir)/wx/protocol
+	$(INSTALL_DATA_DIR) $(includedir)/wx/unix
 	@@list='$(HEADERS)'; for p in $$list; do \
 	  $(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p; \
 	  echo "$(INSTALL_DATA) $(top_srcdir)/include/wx/$$p $(includedir)/wx/$$p"; \
 	done
 
-	@@if test ! -d $(localedir); then $(INSTALL) -d $(localedir); fi
+	@@if test ! -d $(localedir); then $(INSTALL_DATA_DIR) $(localedir); fi
 	@@for p in $(WX_LINGUAS); do \
-	  if test ! -d $(localedir)/$$p; then $(INSTALL) -d $(localedir)/$$p; fi;\
-	  if test ! -d $(localedir)/$$p/LC_MESSAGES; then $(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; fi;\
+	  if test ! -d $(localedir)/$$p; then $(INSTALL_DATA_DIR) $(localedir)/$$p; fi;\
+	  if test ! -d $(localedir)/$$p/LC_MESSAGES; then $(INSTALL_DATA_DIR) $(localedir)/$$p/LC_MESSAGES; fi;\
 	  $(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
 	  echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
 	done
@@@@ -467,14 +310,14 @@@@
 	$(INSTALL_PROGRAM) $(build_libdir)/@@WX_RESOURCES_MACOSX_ASCII@@ $(libdir)/@@WX_RESOURCES_MACOSX_ASCII@@
 	$(INSTALL_PROGRAM) $(build_libdir)/@@WX_RESOURCES_MACOSX_DATA@@ $(libdir)/@@WX_RESOURCES_MACOSX_DATA@@
 
-preinstall_gl: $(build_libdir)/@@WX_TARGET_LIBRARY_GL@@
+preinstall_gl: $(build_libdir)/lib@@WX_LIBRARY_GL@@.la
 	@@echo " "
 	@@echo " Installing wxWindows OpenGl add-on..."
 	@@echo " "
-	@@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
-	@@INSTALL_LIBRARY@@ $(build_libdir)/@@WX_TARGET_LIBRARY_GL@@ $(libdir)/@@WX_TARGET_LIBRARY_GL@@
+	@@if test ! -d $(libdir); then $(INSTALL_DATA_DIR) $(libdir); fi
+	${LIBTOOL} --mode=install ${INSTALL_DATA} $(build_libdir)/lib@@WX_LIBRARY_GL@@.la $(libdir)
d32 1
a32 5
-install: @@AFMINSTALL@@ @@WX_ALL_INSTALLED@@ m4datainstall @@WIN32INSTALL@@
+install: @@AFMINSTALL@@ preinstall_gl m4datainstall @@WIN32INSTALL@@
 	@@echo " "
 	@@echo " The installation of wxWindows is finished.  On certain"
 	@@echo " platforms (e.g. Linux) you'll now have to run ldconfig"
@


1.10
log
@update to wxGTK 2.4.2

Changes:
Enable building of OpenGL support and bump buildlink dependecy because of
that.

2.4.2
-----
All:
- always NUL-terminate the log messages
- wxRegEx::Compile() now calculates the number of groups correctly
- wxHTTP::GetHeader() didn't find headers which were not all in upper case
- wxHTTP input stream didn't detect EOF correctly
- wxString::find_last_of() ignored "start" parameter (Robert Vazan)
- a bug in wxArrayString::Shrink() fixed (Gunnar Roth)
- added wxIPV4address::IPAddress()

All (GUI):
- rare crash in wxFontMapper fixed (Robert Vazan)
- added wxMenu::FindItemByPosition.
- copy wxImage options when copying the images

Generic:
- wxListCtrl: respect wxLC_NO_HEADER style when inserting first column

Unix:
- fixed build problems with OpenGL when libGL(U) were in different directories
- added --basename and --release flags to wx-config (Robert O'Connor)
- added support for GNU/Hurd in configure
- fixed wx-config --rezflags output on platforms different from Mac
- changed wxNativeFontInfo::FromXFontName to treat names with all
  components being empty or '*' as default font (since default font is
  converted to such a string by GetXFontName).
- wxLocale::Init now tries to set .utf8 locale in Unicode mode (Andreas Pflug)

wxGTK
- fixed compilation with --disable-compat-22
- set the event object correctly for wxMenu events (Bob Balfour)
- fixed memory leak in wxFileDialog (Christian Sturmlechner)

wxXRC:
- added wxNO_FULL_REPAINT_ON_RESIZE to "unknown" class handler (John Anderson)
@
text
@d1 1
a1 1
$NetBSD$
d212 1
a212 1
+	${LIBTOOL} --mode=link cc -o $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la ${OBJECTS:.o=.lo} ${EXTRALIBS} -rpath ${PREFIX}/lib -version-info 0:1
d221 1
a221 1
+	${LIBTOOL} --mode=link cc -o $(build_libdir)/lib@@WX_LIBRARY_GL@@.la glcanvas.lo ${EXTRALIBS} $(LDFLAGS_GL) $(OPENGLLIBS) -rpath ${PREFIX}/lib -version-info 0:1
@


1.9
log
@Now uses ${CXXFLAGS} for the default system optimization
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.8 2003/03/31 17:44:22 jmmv Exp $
d3 3
a5 3
--- Makefile.in.orig	2003-01-05 12:54:59.000000000 +0100
+++ Makefile.in
@@@@ -21,13 +21,13 @@@@ include ./src/make.env
d22 1
a22 1
@@@@ -42,10 +42,6 @@@@ VP2 = @@top_srcdir@@/src/common
d33 1
a33 1
@@@@ -53,7 +49,7 @@@@ VP11 = @@top_srcdir@@/src/msw/ole
d42 1
a42 10
@@@@ -64,7 +60,7 @@@@ libdir = @@libdir@@
 mandir = @@mandir@@
 includedir = @@includedir@@
 
-localedir = $(datadir)/locale
+localedir = /usr/orinoco/share/locale
 
 top_builddir = .
 build_libdir = $(top_builddir)/lib
@@@@ -72,7 +68,8 @@@@ build_libdir = $(top_builddir)/lib
d52 1
a52 1
@@@@ -94,10 +91,6 @@@@ GENDIR   = $(WXDIR)/src/generic
d63 1
a63 1
@@@@ -161,124 +154,6 @@@@ REGEXOBJS = \
d188 1
a188 1
@@@@ -302,52 +177,33 @@@@ IODBCOBJS = \
d193 1
a193 1
+all: $(build_libdir)/lib@@WX_LIBRARY_BASENAME@@.la
d200 10
a213 11
 $(build_libdir)/@@WX_LIBRARY_NAME_STATIC_GL@@: glcanvas.o
-	@@$(INSTALL) -d $(build_libdir)
+	@@$(INSTALL_DATA_DIR) $(build_libdir)
 	@@$(RM) $@@
 	$(AR) $(AROPTIONS) $@@ glcanvas.o
 	$(RANLIB) $@@
 
-$(build_libdir)/@@WX_LIBRARY_NAME_SHARED@@: $(OBJECTS)
-	@@$(INSTALL) -d $(build_libdir)
-	$(SHARED_LD) $@@ $(SONAME_FLAGS) $(OBJECTS) $(EXTRALIBS)
-
d216 1
a216 1
 $(build_libdir)/@@WX_LIBRARY_NAME_SHARED_GL@@: glcanvas.o $(build_libdir)/@@WX_LIBRARY_NAME_SHARED@@
d218 2
d221 1
a221 1
 	$(SHARED_LD) $@@ $(SONAME_FLAGS_GL) glcanvas.o $(EXTRALIBS) $(OPENGLLIBS)
d250 1
a250 1
@@@@ -369,13 +225,6 @@@@ lexer.c: $(COMMDIR)/lexer.l
d264 1
a264 1
@@@@ -385,10 +234,10 @@@@ CREATE_INSTALLED_LINKS_GL: preinstall_gl
d279 1
a279 1
@@@@ -410,51 +259,51 @@@@ win32install: preinstall
d353 13
a365 3
@@@@ -474,7 +323,7 @@@@ preinstall_gl: $(build_libdir)/@@WX_TARGE
 	@@if test ! -d $(libdir); then $(INSTALL) -d $(libdir); fi
 	@@INSTALL_LIBRARY@@ $(build_libdir)/@@WX_TARGET_LIBRARY_GL@@ $(libdir)/@@WX_TARGET_LIBRARY_GL@@
d368 1
a368 1
+install: @@AFMINSTALL@@ m4datainstall @@WIN32INSTALL@@
@


1.8
log
@Update to 2.4.0. Changes from 2.2.7 include lots of bugfixes and new features.
Patch provided in PR pkg/20640 by Hiramatsu Yoshifumi.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.7 2001/06/29 08:53:18 jlam Exp $
d10 1
a10 1
+	${LIBTOOL} --mode=compile $(CC)  -c $(CFLAGS) -o $@@ $<
d14 1
a14 1
+	${LIBTOOL} --mode=compile $(CC) -c $(CPPFLAGS) -o $@@ $<
d18 1
a18 1
+	${LIBTOOL} --mode=compile $(CC) -c $(CPPFLAGS) -o $@@ $<
@


1.7
log
@Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY.
Put locale files under ${PKGLOCALEDIR}.
@
text
@d1 1
a1 1
$NetBSD$
d3 1
a3 1
--- Makefile.in.orig	Tue May 22 10:27:56 2001
d5 2
a6 2
@@@@ -19,13 +19,13 @@@@
 .SUFFIXES:	.o .cpp .c .cxx
d8 26
a33 26
 .c.o :
-	$(CCC) -c @@DEP_INFO_FLAGS@@ $(CFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CCC)  -c @@DEP_INFO_FLAGS@@ $(CFLAGS) -o $@@ $<
 
 .cpp.o :
-	$(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) -o $@@ $<
 
 .cxx.o :
-	$(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) -o $@@ $<
 
 ########################### Paths #################################
 
@@@@ -37,10 +37,6 @@@@
 VP4 = @@top_srcdir@@/src/generic
 VP5 = @@top_srcdir@@/src/unix
 VP6 = @@top_srcdir@@/src/html
-VP7 = @@top_srcdir@@/src/png
-VP8 = @@top_srcdir@@/src/jpeg
-VP9 = @@top_srcdir@@/src/tiff
-VP10 = @@top_srcdir@@/src/zlib
 VP11 = @@top_srcdir@@/src/iodbc
 VP12 = @@top_srcdir@@/src/ole
 
@@@@ -66,7 +62,7 @@@@
d37 2
a38 2
-VPATH = $(VP1)@@PATH_IFS@@$(VP2)@@PATH_IFS@@$(VP3)@@PATH_IFS@@$(VP4)@@PATH_IFS@@$(VP5)@@PATH_IFS@@$(VP6)@@PATH_IFS@@$(VP7)@@PATH_IFS@@$(VP8)@@PATH_IFS@@$(VP9)@@PATH_IFS@@$(VP10)@@PATH_IFS@@$(VP11)@@PATH_IFS@@$(VP12)@@PATH_IFS@@$(VP13)@@PATH_IFS@@$(VP14) # ':' for autoconf
+VPATH = $(VP1)@@PATH_IFS@@$(VP2)@@PATH_IFS@@$(VP3)@@PATH_IFS@@$(VP4)@@PATH_IFS@@$(VP5)@@PATH_IFS@@$(VP6)@@PATH_IFS@@$(VP11)@@PATH_IFS@@$(VP12)@@PATH_IFS@@$(VP13)@@PATH_IFS@@$(VP14) # ':' for autoconf
a39 1
 top_srcdir = @@top_srcdir@@
d41 4
a44 3
@@@@ -87,7 +83,7 @@@@
 
 DESTDIR =
d47 1
a47 5
+localedir = $(prefix)/${PKGLOCALEDIR}/locale
 
 pkgdatadir = $(datadir)/@@PACKAGE@@
 pkglibdir = $(libdir)/@@PACKAGE@@
@@@@ -95,13 +91,16 @@@@
d50 2
a51 3
 
+EXTRALIBS=${LDFLAGS} -lz -ljpeg -lpng -ltiff
+
d55 1
a56 2
 # my autoconf doesn't set this
-#INSTALL_SCRIPT = @@INSTALL_SCRIPT@@
a57 4
 # maybe do an additional chmod if needed?
-INSTALL_SCRIPT = @@INSTALL@@
+#INSTALL_SCRIPT = @@INSTALL@@
 transform = @@program_transform_name@@
d59 3
a61 2
 NORMAL_INSTALL = :
@@@@ -130,10 +129,6 @@@@
d69 1
d71 6
a76 9
 MOTIFDIR = $(WXDIR)/src/motif
 MSWDIR   = $(WXDIR)/src/msw
@@@@ -184,41 +179,6 @@@@
 OBJECTS = @@ALL_OBJECTS@@
 DEPFILES = @@ALL_DEPFILES@@
 
-# the object files of sublibraries (we assume that they don't change [often],
-# so we don't generate these lists with tmake but embed them here)
-ZLIBOBJS    = \
d92 1
a92 1
-PNGOBJS     = \
d94 5
d100 1
d103 1
a103 1
-		pngpread.o \
d105 2
d109 1
a109 7
-		pngwutil.o \
-		pngerror.o \
-		pngmem.o \
-		pngwio.o \
-		pngrio.o \
-		pngget.o \
-		pngset.o
d111 1
a111 8
 FREETYPEOBJS = \
 		ftsystem.o \
 		autohint.o \
@@@@ -238,89 +198,6 @@@@
 		type1z.o \
 		winfnt.o
 
-JPEGOBJS    = \
d159 1
a159 1
-TIFFOBJS	= \
d197 26
a222 25
@@@@ -345,64 +222,27 @@@@
 
 all: @@WX_ALL@@
 
-@@WX_LIBRARY_NAME_STATIC@@:  $(OBJECTS)
-	@@$(INSTALL) -d ./lib
-	$(AR) $(AROPTIONS) ./lib/$@@ $(OBJECTS)
-	$(RANLIB) ./lib/$@@
+CREATE_LINKS: $(top_builddir)/lib/@@WX_LIBRARY_NAME@@
+
+CREATE_INSTALLED_LINKS: preinstall
+
+$(top_builddir)/lib/@@WX_LIBRARY_NAME@@:  $(OBJECTS)
+	@@$(INSTALL_DATA_DIR) ./lib
+	${LIBTOOL} --mode=link cc -o $(top_builddir)/lib/@@WX_LIBRARY_NAME@@  ${OBJECTS:.o=.lo} ${EXTRALIBS} -rpath ${PREFIX}/lib -version-info 0:1
 
 @@WX_LIBRARY_NAME_STATIC_GL@@:  glcanvas.o
-	@@$(INSTALL) -d ./lib
+	@@$(INSTALL_DATA_DIR) ./lib
 	$(AR) $(AROPTIONS) ./lib/$@@ glcanvas.o
 	$(RANLIB) ./lib/$@@
 
-@@WX_LIBRARY_NAME_SHARED@@:  $(OBJECTS)
-	@@$(INSTALL) -d ./lib
-	$(SHARED_LD) ./lib/$@@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
d224 16
a239 10
 @@WX_LIBRARY_NAME_SHARED_GL@@:  glcanvas.o
-	@@$(INSTALL) -d ./lib
+	@@$(INSTALL_DATA_DIR) ./lib
 	$(SHARED_LD) ./lib/$@@ $(BURNT_LIBRARY_NAME_GL) glcanvas.o $(EXTRALIBS)
 
-CREATE_LINKS: @@WX_LIBRARY_NAME_SHARED@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK1@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK2@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK3@@
-	cd lib \
d241 1
a241 2
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK2@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK3@@
d243 4
a246 5
-CREATE_LINKS_GL: @@WX_LIBRARY_NAME_SHARED_GL@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK1_GL@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK2_GL@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK3_GL@@
-	cd lib \
d248 1
a248 2
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK2_GL@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK3_GL@@
d250 12
a264 1
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK3@@
d267 1
a267 11
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK2@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK3@@
-
-CREATE_INSTALLED_LINKS_GL: preinstall_gl
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK1_GL@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK2_GL@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK3_GL@@
-	cd $(libdir) \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED_GL@@ @@WX_LIBRARY_LINK1_GL@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED_GL@@ @@WX_LIBRARY_LINK2_GL@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED_GL@@ @@WX_LIBRARY_LINK3_GL@@
d269 4
a272 10
 $(OBJECTS):	$(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
 
 parser.o:    parser.c lexer.c
-	$(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@@ parser.c
+	${LIBTOOL} --mode=compile $(CCLEX) -c $(CFLAGS) -o $@@ parser.c
 
 parser.c:	$(COMMDIR)/parser.y lexer.c
 	$(YACC) $(COMMDIR)/parser.y
@@@@ -425,49 +265,41 @@@@
 -include $(DEPFILES)
d275 1
a275 1
-	$(INSTALL) -d $(datadir)
d277 3
a279 2
-	$(INSTALL) -d $(datadir)/wx/afm
-	$(INSTALL) -d $(datadir)/wx/gs_afm
d281 7
a287 4
+	$(INSTALL_DATA_DIR) $(datadir)/wx/afm
+	$(INSTALL_DATA_DIR) $(datadir)/wx/gs_afm
 	$(INSTALL_DATA) $(top_srcdir)/misc/afm/*.afm $(datadir)/wx/afm
 	$(INSTALL_DATA) $(top_srcdir)/misc/gs_afm/*.afm $(datadir)/wx/gs_afm
d291 2
a292 2
-preinstall: $(top_builddir)/lib/@@WX_TARGET_LIBRARY@@ $(top_builddir)/wx@@TOOLKIT_NAME@@-config
+preinstall: $(top_builddir)/lib/@@WX_LIBRARY_NAME@@ $(top_builddir)/wx@@TOOLKIT_NAME@@-config
d297 13
a309 8
-	$(INSTALL) -d $(prefix)
-	$(INSTALL) -d $(bindir)
-	$(INSTALL) -d $(libdir)
-
 	$(INSTALL_SCRIPT) $(top_builddir)/wx@@TOOLKIT_NAME@@-config $(bindir)/wx@@TOOLKIT_NAME@@-config
 	cd $(bindir) && rm -f wx-config && $(LN_S) wx@@TOOLKIT_NAME@@-config wx-config
-	$(INSTALL_PROGRAM) $(top_builddir)/lib/@@WX_TARGET_LIBRARY@@ $(libdir)/@@WX_TARGET_LIBRARY@@
+	${LIBTOOL} --mode=install ${INSTALL_DATA} $(top_builddir)/lib/@@WX_LIBRARY_NAME@@ ${libdir}
d313 3
a315 2
-	$(INSTALL) -d $(libdir)/wx/include/wx
-	$(INSTALL) -d $(libdir)/wx/include/wx/@@TOOLKIT_NAME@@
d318 5
a322 3
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/wx
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/wx/@@TOOLKIT_NAME@@
 	$(INSTALL_DATA) $(top_builddir)/include/wx/@@TOOLKIT_DIR@@/setup.h $(libdir)/wx/include/wx/@@TOOLKIT_NAME@@/setup.h
d325 2
d330 2
a331 3
-	$(INSTALL) -d $(includedir)/wx/protocol
-	$(INSTALL) -d $(includedir)/wx/unix
+	$(INSTALL_DATA_DIR) $(includedir)/wx
d335 9
d351 2
a352 1
-	$(INSTALL) -d $(localedir)
d354 4
a357 2
-	  $(INSTALL) -d $(localedir)/$$p; \
-	  $(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; \
d361 6
a366 1
@@@@ -476,7 +308,6 @@@@
d368 2
a369 35
 	@@echo " Installing wxWindows OpenGl add-on..."
 	@@echo " "
-	$(INSTALL) -d $(libdir)
 	$(INSTALL_PROGRAM) $(top_builddir)/lib/@@WX_TARGET_LIBRARY_GL@@ $(libdir)/@@WX_TARGET_LIBRARY_GL@@
 
 install: @@AFMINSTALL@@ @@WX_ALL_INSTALLED@@
@@@@ -565,10 +396,6 @@@@
 	cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
 	mkdir $(DISTDIR)/src
 	mkdir $(DISTDIR)/src/zlib
-	cp $(ZLIBDIR)/*.h $(DISTDIR)/src/zlib
-	cp $(ZLIBDIR)/*.c $(DISTDIR)/src/zlib
-	cp $(ZLIBDIR)/README $(DISTDIR)/src/zlib
-	cp $(ZLIBDIR)/*.mms $(DISTDIR)/src/zlib
 
 # this target is the common part of distribution script for all GUI toolkits,
 # but is not used when building wxBase distribution
@@@@ -600,7 +427,6 @@@@
 	mkdir $(DISTDIR)/src/html/bitmaps
 	mkdir $(DISTDIR)/src/$(TOOLKITDIR)
 	mkdir $(DISTDIR)/src/png
-	mkdir $(DISTDIR)/src/jpeg
 	mkdir $(DISTDIR)/src/tiff
 	mkdir $(DISTDIR)/src/iodbc
 	mkdir $(DISTDIR)/src/unix
@@@@ -623,9 +449,6 @@@@
 	cp $(PNGDIR)/*.h $(DISTDIR)/src/png
 	cp $(PNGDIR)/*.c $(DISTDIR)/src/png
 	cp $(PNGDIR)/README $(DISTDIR)/src/png
-	cp $(JPEGDIR)/*.h $(DISTDIR)/src/jpeg
-	cp $(JPEGDIR)/*.c $(DISTDIR)/src/jpeg
-	cp $(JPEGDIR)/README $(DISTDIR)/src/jpeg
 	cp $(TIFFDIR)/*.h $(DISTDIR)/src/tiff
 	cp $(TIFFDIR)/*.c $(DISTDIR)/src/tiff
 	cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
@


1.6
log
@s/INSTAL_DATA_DIRL/INSTALL_DATA_DIR.  Fix by sen_ml@@eccosys.com in
pkg/13235.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.5 2001/06/15 16:53:27 drochner Exp $
d3 2
a4 2
--- Makefile.in.orig	Tue May 22 16:27:56 2001
+++ Makefile.in	Fri Jun 15 01:07:50 2001
d42 9
d55 1
a55 1
+EXTRALIBS=-lz -L@@prefix@@/lib -Wl,-R@@prefix@@/lib -ljpeg -lpng -ltiff
@


1.5
log
@update to wxGTK-2.2.7
changes since 2.2.3:
Applied patch to allow using non-Latin keyboards.
Added wxActivateEvent for top level windows.
Corrected wxActivateEvent for app (now wxEVT_ACTIAVTE_APP).
wxTextCtrl sends focus events.
Corrected so-library name.
wxTreeCtrl now shows an item, if it was programmatically selected.
wxTextCtrl no longer sends any text event upon its construction.
wxSpinCtrl misbehaviour fixed.
Corrected wxYield() to handle recursive calls more gracefully (and with a
	warning in debug mode). This fixes a problem with crashing wxTreeCtrl's
	built-in drag'n'drop and probably some other as well.
Corrected wxMenuItem::GetLabel() to handle deliberate underscore characters
	correctly.
Patch for better 8-bit-display support.
Implememted wxCommandEvent::IsSelection() for wxListBox.
Corrected wxListBox::Set() for sorted mode.
Added EVT_TEXT_UPDATED for spin ctrl.
Corrected wrongly rounded value in slider and scrollbar for negative values.
Translation updates.
Fixed wxMenu::FindItem() for sub menus.
Various other fixes.
Synchronized release with wxMSW again.
@
text
@d1 1
a1 1
$NetBSD$
d289 1
a289 1
+	$(INSTAL_DATA_DIRL) $(datadir)/wx/gs_afm
@


1.4
log
@make sure rpath is correctly set for the dependent libs.  Fixes ELF rpath
problems recently noted by Huberts bulk pkgsrc build.
@
text
@d1 1
a1 1
$NetBSD: patch-ab,v 1.3 2000/09/01 02:45:57 dmcmahill Exp $
d3 4
a6 3
--- Makefile.in.orig	Sun Aug 20 04:52:53 2000
+++ Makefile.in	Thu Aug 31 20:41:33 2000
@@@@ -20,11 +20,11 @@@@
d21 3
a23 1
@@@@ -38,8 +38,4 @@@@
d31 1
d33 2
a34 1
@@@@ -47,5 +43,5 @@@@
d37 2
a38 2
-VPATH = $(VP1)@@PATH_IFS@@$(VP2)@@PATH_IFS@@$(VP3)@@PATH_IFS@@$(VP4)@@PATH_IFS@@$(VP5)@@PATH_IFS@@$(VP6)@@PATH_IFS@@$(VP7)@@PATH_IFS@@$(VP8)@@PATH_IFS@@$(VP9)@@PATH_IFS@@$(VP10)@@PATH_IFS@@$(VP11) # ':' for autoconf
+VPATH = $(VP1)@@PATH_IFS@@$(VP2)@@PATH_IFS@@$(VP3)@@PATH_IFS@@$(VP4)@@PATH_IFS@@$(VP5)@@PATH_IFS@@$(VP6)@@PATH_IFS@@$(VP11) # ':' for autoconf
d41 3
a43 1
@@@@ -76,11 +72,14 @@@@
d60 3
a62 1
@@@@ -111,8 +110,4 @@@@
d71 3
a73 1
@@@@ -161,123 +156,4 @@@@
d111 7
a117 1
-
d203 3
a205 1
@@@@ -304,8 +180,11 @@@@
d209 3
d217 1
a217 3
 	@@$(INSTALL) -d ./lib
-	$(AR) $(AROPTIONS) ./lib/$@@ $(OBJECTS)
-	$(RANLIB) ./lib/$@@
d221 3
a223 1
@@@@ -314,52 +193,12 @@@@
d229 1
a229 1
-	
d231 2
a232 1
 	@@$(INSTALL) -d ./lib
d234 1
a234 1
 	
d243 1
a243 1
-	
d252 1
a252 1
-	
d261 1
a261 1
-	
d270 1
a270 1
-	
d275 1
a275 1
+	${LIBTOOL} --mode=compile $(CCLEX) -c $(CFLAGS)  -o $@@ parser.c
d278 15
a292 1
@@@@ -393,24 +232,22 @@@@
d304 1
a304 1
 
a308 1
+
d319 1
a319 1
 	
d321 5
d327 8
a334 3
 	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@@TOOLKIT_DIR@@; fi
 	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
@@@@ -423,8 +260,8 @@@@
a337 1
+	$(INSTALL_DATA_DIR) $(localedir)
a340 2
+	  $(INSTALL_DATA_DIR) $(localedir)/$$p; \
+	  $(INSTALL_DATA_DIR) $(localedir)/$$p/LC_MESSAGES; \
d343 11
a353 1
@@@@ -524,8 +361,4 @@@@
d362 3
a364 1
@@@@ -561,5 +394,4 @@@@
d370 3
a372 1
@@@@ -584,7 +416,4 @@@@
d380 1
@


1.3
log
@update to wxGTK-2.2.1.  While here, libtoolize it since its a library.

changes are:
20th August 2000: wxWindows 2.2.1 released

Minor build fixes.

Use the wxCommmandEvent::IsChecked() function for checkable
menu items. This mean that the m_int parameter no longer
contains the ID of the menu!

Fixed major problems in ODBC logging code. This change is
binary backward incompatible.

Fixed reentry problems in DnD code.

Changed PostScript code so that it can handle a higher
resolution (720dpi).

Minor improvements to wxGrid code.

Corrected guffow-scrolling so that no surplus expose
events are generated.

Corrected bug in wxMask creation on 16-bit displays.

Minor correction to wxDC::DrawRoundedRectangle.

Added support for <INSERT> and <DELETE> menu accelerators.

Made wxComboBox case-sensitive.

Minor correction to doc-view architecture.

Minor wxCommandLineParser changes.
@
text
@d1 1
a1 1
$NetBSD$
d39 1
a39 1
+EXTRALIBS=-lz -L@@prefix@@/lib -R@@prefix@@/lib -ljpeg -lpng -ltiff
@


1.2
log
@revert my last (conflicting) import
@
text
@d1 20
a20 4
--- Makefile.in.orig	Sun Jul  9 05:04:14 2000
+++ Makefile.in	Thu Jul 27 21:55:59 2000
@@@@ -37,16 +37,12 @@@@
 VP4 = @@top_srcdir@@/src/generic
d29 1
a29 1
 # the comment at the end of the next line is needed because otherwise autoconf
d36 1
a36 3
 prefix = @@prefix@@
@@@@ -75,6 +71,8 @@@@
 
d44 10
a53 2
@@@@ -110,10 +108,6 @@@@
 COMMDIR  = $(WXDIR)/src/common
d62 1
a62 3
 MSWDIR   = $(WXDIR)/src/msw
@@@@ -153,125 +147,6 @@@@
 OBJECTS = @@ALL_OBJECTS@@
d186 115
a300 4
 		connect.o \
@@@@ -515,11 +390,6 @@@@
 	cp $(WXDIR)/lib/vms.opt $(DISTDIR)/lib
 	cp $(WXDIR)/lib/vms_gtk.opt $(DISTDIR)/lib
d302 1
a302 1
-	mkdir $(DISTDIR)/src/zlib
d309 1
a309 3
 # but is not used when building wxBase distribution
@@@@ -550,7 +420,6 @@@@
 	mkdir $(DISTDIR)/src/html/bitmaps
d315 1
a315 3
 	mkdir $(DISTDIR)/src/unix
@@@@ -573,9 +442,6 @@@@
 	cp $(PNGDIR)/*.h $(DISTDIR)/src/png
a322 1
 	cp $(TIFFDIR)/README $(DISTDIR)/src/tiff
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@wxGTK: A GTK-based implementation of the wxWindows GUI library
@
text
@@


1.1.1.2
log
@botched duplicate import.  has been backed out
@
text
@d1 21
a21 17
$NetBSD$

--- Makefile.in.orig	Sun Aug 20 04:52:53 2000
+++ Makefile.in	Thu Aug 31 16:20:35 2000
@@@@ -20,11 +20,11 @@@@
 
 .c.o :
-	$(CCC) -c @@DEP_INFO_FLAGS@@ $(CFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CCC)  -c @@DEP_INFO_FLAGS@@ $(CFLAGS) -o $@@ $<
 
 .cpp.o :
-	$(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) -o $@@ $<
 
 .cxx.o :
-	$(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) $(PICFLAGS) -o $@@ $<
+	${LIBTOOL} --mode=compile $(CC) -c @@DEP_INFO_FLAGS@@ $(CPPFLAGS) -o $@@ $<
d23 5
a27 2
 ########################### Paths #################################
@@@@ -79,8 +79,9 @@@@
d30 167
a196 123
+INSTALL_DATA_DIR = ${BSD_INSTALL_DATA_DIR}
 # my autoconf doesn't set this
-#INSTALL_SCRIPT = @@INSTALL_SCRIPT@@
+INSTALL_SCRIPT = @@INSTALL_SCRIPT@@
 # maybe do an additional chmod if needed?
-INSTALL_SCRIPT = @@INSTALL@@
+#INSTALL_SCRIPT = @@INSTALL@@
 transform = @@program_transform_name@@
 
@@@@ -304,8 +305,11 @@@@
 all: @@WX_ALL@@
 
-@@WX_LIBRARY_NAME_STATIC@@:  $(OBJECTS)
+CREATE_LINKS: $(top_builddir)/lib/@@WX_LIBRARY_NAME@@
+
+CREATE_INSTALLED_LINKS: preinstall
+
+$(top_builddir)/lib/@@WX_LIBRARY_NAME@@:  $(OBJECTS)
 	@@$(INSTALL) -d ./lib
-	$(AR) $(AROPTIONS) ./lib/$@@ $(OBJECTS)
-	$(RANLIB) ./lib/$@@
+	${LIBTOOL} --mode=link cc -o $(top_builddir)/lib/@@WX_LIBRARY_NAME@@  ${OBJECTS:.o=.lo} -rpath ${PREFIX}/lib -version-info 0:1:1
 
 @@WX_LIBRARY_NAME_STATIC_GL@@:  glcanvas.o
@@@@ -314,52 +318,12 @@@@
 	$(RANLIB) ./lib/$@@
 
-@@WX_LIBRARY_NAME_SHARED@@:  $(OBJECTS)
-	@@$(INSTALL) -d ./lib
-	$(SHARED_LD) ./lib/$@@ $(BURNT_LIBRARY_NAME) $(OBJECTS) $(EXTRALIBS)
-	
 @@WX_LIBRARY_NAME_SHARED_GL@@:  glcanvas.o
 	@@$(INSTALL) -d ./lib
 	$(SHARED_LD) ./lib/$@@ $(BURNT_LIBRARY_NAME_GL) glcanvas.o $(EXTRALIBS)
 	
-CREATE_LINKS: @@WX_LIBRARY_NAME_SHARED@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK1@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK2@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK3@@
-	cd lib \
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK1@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK2@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY@@ @@WX_LIBRARY_LINK3@@
-	
-CREATE_LINKS_GL: @@WX_LIBRARY_NAME_SHARED_GL@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK1_GL@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK2_GL@@
-	@@$(RM) ./lib/@@WX_LIBRARY_LINK3_GL@@
-	cd lib \
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK1_GL@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK2_GL@@ \
-		&& $(LN_S) @@WX_TARGET_LIBRARY_GL@@ @@WX_LIBRARY_LINK3_GL@@
-	
-CREATE_INSTALLED_LINKS: preinstall
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK1@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK2@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK3@@
-	cd $(libdir) \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK1@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK2@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED@@ @@WX_LIBRARY_LINK3@@
-	
-CREATE_INSTALLED_LINKS_GL: preinstall_gl
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK1_GL@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK2_GL@@
-	$(RM) $(libdir)/@@WX_LIBRARY_LINK3_GL@@
-	cd $(libdir) \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED_GL@@ @@WX_LIBRARY_LINK1_GL@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED_GL@@ @@WX_LIBRARY_LINK2_GL@@ \
-		&& $(LN_S) @@WX_LIBRARY_NAME_SHARED_GL@@ @@WX_LIBRARY_LINK3_GL@@
-	
 $(OBJECTS):	$(WXDIR)/include/wx/defs.h $(WXDIR)/include/wx/object.h
 
 parser.o:    parser.c lexer.c
-	$(CCLEX) -c $(CFLAGS) $(PICFLAGS) -o $@@ parser.c
+	${LIBTOOL} --mode=compile $(CCLEX) -c $(CFLAGS)  -o $@@ parser.c
 
 parser.c:	$(COMMDIR)/parser.y lexer.c
@@@@ -393,24 +357,22 @@@@
 # this is the real install target: copies the library, wx-config and the
 # headers to the installation directory
-preinstall: $(top_builddir)/lib/@@WX_TARGET_LIBRARY@@ $(top_builddir)/wx@@TOOLKIT_NAME@@-config
+preinstall: $(top_builddir)/lib/@@WX_LIBRARY_NAME@@ $(top_builddir)/wx@@TOOLKIT_NAME@@-config
 	@@echo " "
 	@@echo " Installing wxWindows..."
 	@@echo " "
 
-	$(INSTALL) -d $(prefix)
-	$(INSTALL) -d $(bindir)
-	$(INSTALL) -d $(libdir)
 
 	$(INSTALL_SCRIPT) $(top_builddir)/wx@@TOOLKIT_NAME@@-config $(bindir)/wx@@TOOLKIT_NAME@@-config
 	cd $(bindir) && rm -f wx-config && $(LN_S) wx@@TOOLKIT_NAME@@-config wx-config
-	$(INSTALL_PROGRAM) $(top_builddir)/lib/@@WX_TARGET_LIBRARY@@ $(libdir)/@@WX_TARGET_LIBRARY@@
+	${LIBTOOL} --mode=install ${INSTALL_DATA} $(top_builddir)/lib/@@WX_LIBRARY_NAME@@ ${libdir}
+
 
-	$(INSTALL) -d $(libdir)/wx
-	$(INSTALL) -d $(libdir)/wx/include
-	$(INSTALL) -d $(libdir)/wx/include/wx
-	$(INSTALL) -d $(libdir)/wx/include/wx/@@TOOLKIT_NAME@@
+	$(INSTALL_DATA_DIR) $(libdir)/wx
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/wx
+	$(INSTALL_DATA_DIR) $(libdir)/wx/include/wx/@@TOOLKIT_NAME@@
 	$(INSTALL_DATA) $(top_builddir)/include/wx/@@TOOLKIT_DIR@@/setup.h $(libdir)/wx/include/wx/@@TOOLKIT_NAME@@/setup.h
 	
-	$(INSTALL) -d $(includedir)/wx
+	$(INSTALL_DATA_DIR) $(includedir)/wx
 	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/@@TOOLKIT_DIR@@; fi
 	@@if test "$(USE_GUI)" = 1; then $(INSTALL) -d $(includedir)/wx/html; fi
@@@@ -423,8 +385,8 @@@@
 	done
 
-	$(INSTALL) -d $(localedir)
+	$(INSTALL_DATA_DIR) (localedir)
 	@@for p in $(WX_LINGUAS); do \
-	  $(INSTALL) -d $(localedir)/$$p; \
-	  $(INSTALL) -d $(localedir)/$$p/LC_MESSAGES; \
+	  $(INSTALL_DATA_DIR) $(localedir)/$$p; \
+	  $(INSTALL_DATA_DIR) $(localedir)/$$p/LC_MESSAGES; \
 	  $(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo; \
 	  echo "$(INSTALL_DATA) $(top_srcdir)/locale/$$p.mo $(localedir)/$$p/LC_MESSAGES/wxstd.mo"; \
@


