Browse Source

Use predefined default size for embedded windows

pull/148/head
Nikita Tsukanov 11 years ago
parent
commit
e6ba129c38
  1. 8
      src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs

8
src/Windows/Perspex.Win32/Embedding/EmbeddedWindowImpl.cs

@ -19,10 +19,10 @@ namespace Perspex.Win32
atom,
null,
(int)UnmanagedMethods.WindowStyles.WS_CHILD,
UnmanagedMethods.CW_USEDEFAULT,
UnmanagedMethods.CW_USEDEFAULT,
UnmanagedMethods.CW_USEDEFAULT,
UnmanagedMethods.CW_USEDEFAULT,
0,
0,
640,
480,
WinFormsControl.Handle,
IntPtr.Zero,
IntPtr.Zero,

Loading…
Cancel
Save