forked from pyrite-dev/milsko
dummy
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@98 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
ed943ee572
commit
5855f9548f
2 changed files with 2 additions and 3 deletions
|
|
@ -17,7 +17,7 @@ struct _MwLL {
|
||||||
HWND hWnd;
|
HWND hWnd;
|
||||||
HDC hDC;
|
HDC hDC;
|
||||||
void* user;
|
void* user;
|
||||||
int copy_buffer;
|
int copy_buffer;
|
||||||
|
|
||||||
MwLLHandler handler;
|
MwLLHandler handler;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,7 @@ MwLL MwLLCreate(MwLL parent, int x, int y, int width, int height) {
|
||||||
|
|
||||||
RegisterClassEx(&wc);
|
RegisterClassEx(&wc);
|
||||||
|
|
||||||
r->copy_buffer = 1;
|
r->hWnd = CreateWindow(parent == NULL ? "milsko" : "STATIC", "Milsko", parent == NULL ? (WS_OVERLAPPEDWINDOW) : (WS_CHILD | WS_VISIBLE), x, y, width, height, parent == NULL ? NULL : parent->hWnd, 0, wc.hInstance, NULL);
|
||||||
r->hWnd = CreateWindow(parent == NULL ? "milsko" : "STATIC", "Milsko", parent == NULL ? (WS_OVERLAPPEDWINDOW) : (WS_CHILD | WS_VISIBLE), x, y, width, height, parent == NULL ? NULL : parent->hWnd, 0, wc.hInstance, NULL);
|
|
||||||
|
|
||||||
u->ll = r;
|
u->ll = r;
|
||||||
if(parent == NULL) {
|
if(parent == NULL) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue