cast away a couple of warnings and added *.inc to the MANUAL_DIST target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1296,6 +1296,7 @@ MANUAL_DIST:
|
|||||||
mkdir $(DISTDIR)/docs/latex
|
mkdir $(DISTDIR)/docs/latex
|
||||||
mkdir $(DISTDIR)/docs/latex/wx
|
mkdir $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.tex $(DISTDIR)/docs/latex/wx
|
||||||
|
cp $(DOCDIR)/latex/wx/*.inc $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.gif $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.ini $(DISTDIR)/docs/latex/wx
|
||||||
cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
cp $(DOCDIR)/latex/wx/*.bib $(DISTDIR)/docs/latex/wx
|
||||||
|
@@ -258,7 +258,7 @@ bool wxTopLevelWindowMSW::CreateDialog(const wxChar *dlgTemplate,
|
|||||||
// and passing CW_USEDEFAULT to MoveWindow() results in resizing the
|
// and passing CW_USEDEFAULT to MoveWindow() results in resizing the
|
||||||
// window to (0, 0) size which breaks quite a lot of things, e.g. the
|
// window to (0, 0) size which breaks quite a lot of things, e.g. the
|
||||||
// sizer calculation in wxSizer::Fit()
|
// sizer calculation in wxSizer::Fit()
|
||||||
if ( w == CW_USEDEFAULT )
|
if ( w == (int)CW_USEDEFAULT )
|
||||||
{
|
{
|
||||||
// the exact number doesn't matter, the dialog will be resized
|
// the exact number doesn't matter, the dialog will be resized
|
||||||
// again soon anyhow but it should be big enough to allow
|
// again soon anyhow but it should be big enough to allow
|
||||||
@@ -268,7 +268,7 @@ bool wxTopLevelWindowMSW::CreateDialog(const wxChar *dlgTemplate,
|
|||||||
h = 100;
|
h = 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( x == CW_USEDEFAULT )
|
if ( x == (int)CW_USEDEFAULT )
|
||||||
{
|
{
|
||||||
// well, where should we put it? maybe centre it on screen?
|
// well, where should we put it? maybe centre it on screen?
|
||||||
x =
|
x =
|
||||||
|
Reference in New Issue
Block a user