mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
parent
313ed0004a
commit
eddcb77941
3 changed files with 10 additions and 6 deletions
|
|
@ -486,7 +486,7 @@ static bool addGlyphToTypeface (HDC dc,
|
|||
WORD index = 0;
|
||||
|
||||
if (wGetGlyphIndicesW (dc, charToTest, 1, &index, GGI_MARK_NONEXISTING_GLYPHS) != GDI_ERROR
|
||||
&& index < 0)
|
||||
&& index == 0xffff)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
@ -512,7 +512,7 @@ static bool addGlyphToTypeface (HDC dc,
|
|||
WORD index = 0;
|
||||
|
||||
if (GetGlyphIndicesW (dc, charToTest, 1, &index, GGI_MARK_NONEXISTING_GLYPHS) != GDI_ERROR
|
||||
&& index < 0)
|
||||
&& index == 0xffff)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -606,7 +606,7 @@ public:
|
|||
x - windowBorder.getLeft(),
|
||||
y - windowBorder.getTop(),
|
||||
0, 0,
|
||||
SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING);
|
||||
SWP_NOACTIVATE | SWP_NOSIZE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||
}
|
||||
|
||||
void repaintNowIfTransparent()
|
||||
|
|
@ -634,7 +634,7 @@ public:
|
|||
SetWindowPos (hwnd, 0, 0, 0,
|
||||
w + windowBorder.getLeftAndRight(),
|
||||
h + windowBorder.getTopAndBottom(),
|
||||
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING);
|
||||
SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||
|
||||
updateBorderSize();
|
||||
|
||||
|
|
@ -651,7 +651,7 @@ public:
|
|||
y - windowBorder.getTop(),
|
||||
w + windowBorder.getLeftAndRight(),
|
||||
h + windowBorder.getTopAndBottom(),
|
||||
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING);
|
||||
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||
|
||||
updateBorderSize();
|
||||
|
||||
|
|
@ -3399,7 +3399,7 @@ public:
|
|||
{
|
||||
SetWindowPos ((HWND) nativeWindow->getNativeHandle(), 0,
|
||||
x, y, w, h,
|
||||
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING);
|
||||
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOOWNERZORDER);
|
||||
}
|
||||
|
||||
void repaint()
|
||||
|
|
|
|||
|
|
@ -174,6 +174,10 @@ bool Thread::waitForThreadToExit (const int timeOutMilliseconds) const throw()
|
|||
|
||||
void Thread::stopThread (const int timeOutMilliseconds) throw()
|
||||
{
|
||||
// agh! You can't stop the thread that's calling this method! How on earth
|
||||
// would that work??
|
||||
jassert (getCurrentThreadId() != getThreadId());
|
||||
|
||||
const ScopedLock sl (startStopLock);
|
||||
|
||||
if (isThreadRunning())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue