mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
git-svn-id: svn://ultimatepp.org/upp/trunk@556 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3327d9393f
commit
ae74b178e8
3 changed files with 3 additions and 2 deletions
|
|
@ -136,6 +136,8 @@ class GLCtrl : public ParentCtrl {
|
|||
virtual void State(int reason);
|
||||
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
||||
virtual Image MouseEvent(int event, Point p, int zdelta, dword keyflags);
|
||||
|
||||
GLPane() { NoWantFocus(); }
|
||||
};
|
||||
|
||||
friend class GLCtrl;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ GLCtrl::GLCtrl()
|
|||
hRC = NULL;
|
||||
glpane.ctrl = this;
|
||||
Add(glpane.SizePos());
|
||||
NoWantFocus();
|
||||
}
|
||||
|
||||
GLCtrl::~GLCtrl()
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ GLCtrl::GLPane::GLPane(int depthsize, int stencilsize, bool doublebuffer,
|
|||
StencilSize = stencilsize;
|
||||
DoubleBuffering = doublebuffer;
|
||||
NumberOfSamples = numberofsamples;
|
||||
NoWantFocus();
|
||||
} // END Constructor class GLCtrl::GLPane
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
@ -201,7 +202,6 @@ GLCtrl::GLCtrl(int depthsize, int stencilsize, bool doublebuffer, bool multisamp
|
|||
{
|
||||
pane.ctrl = this;
|
||||
Add(pane.SizePos());
|
||||
NoWantFocus();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue