diff options
| author | nyamatongwe <unknown> | 2013-06-05 21:09:11 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-06-05 21:09:11 +1000 |
| commit | 6e29602a6c893a998dc78a9f8d96eb0d70c5a12c (patch) | |
| tree | ab306b7fa1caf9d2d7b4300263dfaaaeaee29872 | |
| parent | 1293246cf08b7cc63b52bdde8608d34768f965ac (diff) | |
| download | scintilla-mirror-6e29602a6c893a998dc78a9f8d96eb0d70c5a12c.tar.gz | |
Make method static as it does not use instance variables.
| -rw-r--r-- | win32/PlatWin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 0eb377ed4..f1d6a4fcd 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2133,7 +2133,7 @@ class ListBoxX : public ListBox { HWND GetHWND() const; void AppendListItem(const char *text, const char *numword); - void AdjustWindowRect(PRectangle *rc) const; + static void AdjustWindowRect(PRectangle *rc); int ItemHeight() const; int MinClientWidth() const; int TextOffset() const; @@ -2496,7 +2496,7 @@ void ListBoxX::SetList(const char *list, char separator, char typesep) { SetRedraw(true); } -void ListBoxX::AdjustWindowRect(PRectangle *rc) const { +void ListBoxX::AdjustWindowRect(PRectangle *rc) { RECT rcw = RectFromPRectangle(*rc); ::AdjustWindowRectEx(&rcw, WS_THICKFRAME, false, WS_EX_WINDOWEDGE); *rc = PRectangle(rcw.left, rcw.top, rcw.right, rcw.bottom); |
