|
|
|
@ -217,7 +217,7 @@ LRESULT APIENTRY colorSwatchSubclassWndProc(
|
|
|
|
|
case WM_LBUTTONUP:
|
|
|
|
|
case WM_LBUTTONDBLCLK: {
|
|
|
|
|
HWND hPanel = GetParent(hwnd);
|
|
|
|
|
LONG mod = GetWindowLongPtr(hPanel,GWLP_USERDATA);
|
|
|
|
|
LONG_PTR mod = GetWindowLongPtr(hPanel,GWLP_USERDATA);
|
|
|
|
|
if (mod) {
|
|
|
|
|
((VertexPaint*)mod)->PaletteButton(hwnd);
|
|
|
|
|
}
|
|
|
|
@ -424,7 +424,8 @@ void VertexPaint::BeginEditParams( IObjParam *ip, ULONG flags,Animatable *prev )
|
|
|
|
|
|
|
|
|
|
SendMessage(hParams, WM_POSTINIT, 0, 0);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
SetWindowLongPtr(hParams,GWLP_USERDATA,(LONG_PTR)this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|