added border to OGL studio window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6287
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return popupMenu->MSWCommand(cmd, id);
}
return popupMenu->MSWCommand(cmd, id);
}
+ wxWindow *win = (wxWindow*) NULL;
if ( cmd == 0 || cmd == 1 ) // menu or accel - use id
{
// must cast to a signed type before comparing with other ids!
win = FindItem((signed short)id);
}
if ( cmd == 0 || cmd == 1 ) // menu or accel - use id
{
// must cast to a signed type before comparing with other ids!
win = FindItem((signed short)id);
}
{
// find it from HWND - this works even with the broken programs using
// the same ids for different controls
{
// find it from HWND - this works even with the broken programs using
// the same ids for different controls
parent->GetClientSize(&width, &height);
// Non-retained canvas
parent->GetClientSize(&width, &height);
// Non-retained canvas
- csCanvas *canvas = new csCanvas((csDiagramView*) view, parent, 1000, wxPoint(0, 0), wxSize(width, height), 0);
+ csCanvas *canvas = new csCanvas((csDiagramView*) view, parent, 1000, wxPoint(0, 0), wxSize(width, height), wxSUNKEN_BORDER);
wxColour bgColour("WHITE");
canvas->SetBackgroundColour(bgColour);
wxColour bgColour("WHITE");
canvas->SetBackgroundColour(bgColour);
WXDIR = $(WXWIN)
MMDIR = $(WXDIR)\utils\wxMMedia2
THISDIR = $(MMDIR)\lib
WXDIR = $(WXWIN)
MMDIR = $(WXDIR)\utils\wxMMedia2
THISDIR = $(MMDIR)\lib
-EXTRALIBS=$(WXDIR)\lib\glcanvas.lib
+EXTRALIBS=$(WXDIR)\lib\mmedia2.lib
LIBTARGET=$(WXDIR)\lib\mmedia2.lib
OBJECTS = cdbase.obj cdwin.obj g711.obj g721.obj g723_24.obj sndg72x.obj \
LIBTARGET=$(WXDIR)\lib\mmedia2.lib
OBJECTS = cdbase.obj cdwin.obj g711.obj g721.obj g723_24.obj sndg72x.obj \