small a wxWindows application as you can get.
<li><a href="../../samples/nativdlg">nativdlg</a>: shows how wxWindows can load a standard Windows
dialog resource, translating the controls into wxWindows controls (Windows only).
+<li><a href="../../samples/nettest">nettest</a>: wxDialUpManager demo.
<li><a href="../../samples/notebook">notebook</a>: shows the wxNotebook (tabbed window) control.
<li><a href="../../samples/oleauto">oleauto</a>: a little OLE automation controller (Windows only; requires
Excel to be present).
ldconfig
exit
-NB: DO NOT COMPILE WXGTK WITH GCC AND THREADS, SINCE ALL PROGRAMS WILL CRASH UPON
-START-UP! Just always use egcs and be happy.
+NB: DO NOT COMPILE WXGTK WITH GCC AND THREADS, SINCE ALL PROGRAMS WILL
+CRASH UPON START-UP! Just always use egcs and be happy.
* Building wxMotif on SGI
--------------------------
Usage:
./configure options
-`
+
If you want to use system's C and C++ compiler,
set environment variables CC and CCC as
* Further notes by Julian Smart
---------------------------------
-- You may find the following script useful for compiling wxMotif:
- Make this script executable with the command
+- You may find the following script useful for compiling wxMotif,
+ especially if installing from zips (which don't preserve file
+ permissions). Make this script executable with the command
chmod a+x makewxmotif.
-------:x-----Cut here-----:x-----
wxwin-developers@wx.dent.med.uni-muenchen.de
-Julian Smart, February 1999.
-julian.smart@ukonline.co.uk
+Julian Smart, Robert Roebling and Vadim Zeitlin, November 1999.
+
For a quick start, point your Web browser at docs/html/index.htm for a list of
important documents and samples.
+Changes in this release
+-----------------------
+
+These are the major improvements:
+
+wxWindows 2.1
+=============
+
+- Integration of wxHTML widget and help controller into
+ wxWindows. wxHTML allows HTML viewing and printing.
+- New classes wxChrono, wxDialUpManager, wxFontEnumerator,
+ TODO
+- wxSocket and wxThread classes rewritten.
+- Documentation improvements.
+
Platforms supported
-------------------
wxWindows for GTK distribution
------------------------------
-TODO
+wxGTK-2.x.x.tgz wxGTK source distribution. You will
+ need the HTML and/or PDF documentation
+ from the zip set (above).
wxWindows for Motif distribution
--------------------------------
-TODO
+wxMotif-2.x.x.tgz wxMotif source distribution. You will
+ need the HTML and/or PDF documentation
+ from the zip set (above).
wxWindows for Windows distribution
----------------------------------
+As well as the core source, the Windows setup contains:
+
+- Windows Help versions of the documentation (docs/winhelp);
+- wxGLCanvas (OpenGL integration, in utils/glcanvas);
+- OGL 3 (Object Graphics Library, in utils/ogl);
+- wxTreeLayout (for tree drawing, in utils/wxtree);
+- a Dialog Editor binary;
+- the JPEG library.
+
setup.exe Setup file (Windows 95/98, NT)
setup.* Other setup files
+wxWindows for Mac distribution
+------------------------------
+
+TODO
+
Installation
------------
Documentation
-------------
-See docs/changes.txt for a history of changes to wxWindows 2.
+See docs/changes.txt for a detailed history of changes to wxWindows 2.
See docs/html/index.htm for an HTML index of the major documents.
The Windows help files are located in docs/winhelp.
m_backgroundMode = wxTRANSPARENT;
m_isInteractive = FALSE;
+
+ m_internalDeviceOriginX = 0;
+ m_internalDeviceOriginY = 0;
+ m_externalDeviceOriginX = 0;
+ m_externalDeviceOriginY = 0;
}
void wxDC::DoDrawIcon( const wxIcon &icon, wxCoord x, wxCoord y)
#include <Xm/RowColumn.h>
#include <Xm/LabelG.h>
+#include "wx/motif/private.h"
+
#if !USE_SHARED_LIBRARY
IMPLEMENT_CLASS(wxFileDialog, wxDialog)
#endif
}
else
parentWidget = (Widget) wxTheApp->GetTopLevelWidget();
+ // prepare the arg list
+ Arg args[10];
+ int ac = 0;
+
+ wxComputeColours (XtDisplay(parentWidget), & m_backgroundColour,
+ (wxColour*) NULL);
+
+ XtSetArg(args[ac], XmNbackground, g_itemColors[wxBACK_INDEX].pixel); ac++;
+ XtSetArg(args[ac], XmNtopShadowColor, g_itemColors[wxTOPS_INDEX].pixel); ac++;
+ XtSetArg(args[ac], XmNbottomShadowColor, g_itemColors[wxBOTS_INDEX].pixel); ac++;
+ XtSetArg(args[ac], XmNforeground, g_itemColors[wxFORE_INDEX].pixel); ac++;
+
- Widget fileSel = XmCreateFileSelectionDialog(parentWidget, "file_selector", NULL, 0);
+ Widget fileSel = XmCreateFileSelectionDialog(parentWidget, "file_selector", args, ac);
XtUnmanageChild(XmFileSelectionBoxGetChild(fileSel, XmDIALOG_HELP_BUTTON));
Widget filterWidget = XmFileSelectionBoxGetChild(fileSel, XmDIALOG_FILTER_TEXT);
XmNresizePolicy, XmRESIZE_NONE,
NULL);
#endif
- DoChangeBackgroundColour((WXWidget) fileSel, m_backgroundColour);
+ // DoChangeBackgroundColour((WXWidget) fileSel, m_backgroundColour);
DoChangeBackgroundColour((WXWidget) filterWidget, *wxWHITE);
DoChangeBackgroundColour((WXWidget) selectionWidget, *wxWHITE);
- // apparently, this provokes a crash
-#if 0
- DoChangeBackgroundColour((WXWidget) okWidget, m_backgroundColour, TRUE);
- DoChangeBackgroundColour((WXWidget) cancelWidget, m_backgroundColour, TRUE);
- DoChangeBackgroundColour((WXWidget) applyWidget, m_backgroundColour, TRUE);
-#endif
-
wxChangeListBoxColours(this, dirListWidget);
wxChangeListBoxColours(this, fileListWidget);
dialogCreateFunction = XmCreateInformationDialog;
}
- // prepare the arg list
- Arg args[2];
- int ac = 0;
-
- wxXmString text(m_message);
- wxXmString title(m_caption);
- XtSetArg(args[ac], XmNmessageString, text()); ac++;
- XtSetArg(args[ac], XmNdialogTitle, title()); ac++;
-
- // do create message box
Widget wParent = m_parent ? GetWidget(m_parent) : (Widget) 0;
if ( !wParent )
{
wParent = GetWidget(window);
}
+ // prepare the arg list
+ Arg args[10];
+ int ac = 0;
+
+ wxXmString text(m_message);
+ wxXmString title(m_caption);
+ XtSetArg(args[ac], XmNmessageString, text()); ac++;
+ XtSetArg(args[ac], XmNdialogTitle, title()); ac++;
+
+ wxComputeColours (XtDisplay(wParent), & m_backgroundColour,
+ (wxColour*) NULL);
+
+ XtSetArg(args[ac], XmNbackground, g_itemColors[wxBACK_INDEX].pixel); ac++;
+ XtSetArg(args[ac], XmNtopShadowColor, g_itemColors[wxTOPS_INDEX].pixel); ac++;
+ XtSetArg(args[ac], XmNbottomShadowColor, g_itemColors[wxBOTS_INDEX].pixel); ac++;
+ XtSetArg(args[ac], XmNforeground, g_itemColors[wxFORE_INDEX].pixel); ac++;
+
+ // do create message box
+
Widget wMsgBox = (*dialogCreateFunction)(wParent, "", args, ac);
wxCHECK_MSG( wMsgBox, wxID_CANCEL, "msg box creation failed" );