Added script to help make wxMotif via configure; nativdlg sample works again;

resource sample now works using .rc files for most Windows compilers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-12-12 10:01:41 +00:00
parent 1b4092eb0b
commit 44c4a33486
13 changed files with 70 additions and 23 deletions

View File

@@ -176,4 +176,4 @@ double ConvertFromIeeeExtended(const unsigned char *bytes)
return f;
}
#endif // wxUSE_APPLE_IEEE
#endif /* wxUSE_APPLE_IEEE */

View File

@@ -226,7 +226,8 @@ bool wxLayoutAlgorithm::LayoutFrame(wxFrame* frame, wxWindow* mainWindow)
rect = event.GetRect();
mainWindow->SetSize(rect.x, rect.y, rect.width, rect.height);
if (mainWindow)
mainWindow->SetSize(rect.x, rect.y, rect.width, rect.height);
return TRUE;
}

View File

@@ -4,6 +4,7 @@
# Common makefile settings for wxWindows programs
# This file is included by all the other makefiles, thus changes
# made here take effect everywhere (except where overriden).
# RCS-ID: $Id$
#
########################### Programs #################################

View File

@@ -174,7 +174,7 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
{
// TODO: how to find the bitmap?
win = new wxBitmapButton;
wxMessageBox("Have not yet implemented bitmap button as BS_BITMAP button.");
wxLogError("Have not yet implemented bitmap button as BS_BITMAP button.");
}
#endif
else if (style1 == BS_OWNERDRAW)
@@ -199,7 +199,7 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
{
char buf[256];
sprintf(buf, "Don't know what kind of button this is: id = %d", (int) id);
wxMessageBox(buf);
wxLogError(buf);
}
}
else if (str == "COMBOBOX")
@@ -247,7 +247,7 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
win = new wxStaticBitmap;
// Help! this doesn't correspond with the wxWin implementation.
wxMessageBox("Please make SS_BITMAP statics into owner-draw buttons.");
wxLogError("Please make SS_BITMAP statics into owner-draw buttons.");
}
#endif
}
@@ -255,7 +255,7 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
{
wxString msg("Don't know how to convert from Windows class ");
msg += str;
wxMessageBox(msg);
wxLogError(msg);
}
if (win)